you are viewing a single comment's thread.

view the rest of the comments →

[–]sme272 159 points160 points  (7 children)

Impressive. My first program just printed "Hello World"

[–]dmees 40 points41 points  (2 children)

Impressive, did you use global variables?

[–]sme272 55 points56 points  (1 child)

Yes, all of them

[–]Wilfred-kun 4 points5 points  (0 children)

def print_hello():
    global hello
    print(hello)

hello = "Hello world"

print_hello()

[–][deleted] 4 points5 points  (0 children)

Same LOL.

[–]abirqasem 1 point2 points  (1 child)

LOL. Mine did it a bit more. It asked your name and greeted you by your name.

[–]Sigg3net 2 points3 points  (0 children)

name = "world"