• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Very quick python question.

FleshLight

Diamond Member
When using "elif", do I have to indent that statement under the "if" statement?

Example:

if 0 > x > 5:
sky = blue

elif 6 > x > 10:
sky = red

??
 
I don't know what Python is but in Qbasic...well I can't remember that one either.
 
Back
Top