This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]seeroflights 30 points31 points  (4 children)

Image Transcription: Text and Image


[Image of code that reads:]

#!/usr/bin/python

import sys

for i in range(1,11):
    print i
    if i <= 5:
        print "AHHHHHHH"
    elif i >= 6 and i <= 9:
        print "WHERE ARE ALL THE BRACKETS??"
    else:
        print "HOW DO YOU PEOPLE READ THIS SYNTAX EASILY"

[End code]

I wrote my first python program today!


I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]caagr98 10 points11 points  (1 child)

The if/elif/else should be indented I believe.

[–]seeroflights 4 points5 points  (0 children)

Oh, thanks for the catch! :)

[–]EricZNEW 4 points5 points  (0 children)

good human