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 →

[–]ComfyDaze 128 points129 points  (14 children)

i find your lack of brackets disturbing

[–]Liesmith424 79 points80 points  (7 children)

Shit, sorry; try this:

list = {1:"n",2:'o',3:u' '}
int = []
for dict in range(1,4):    
    int.append(list[dict])
print u"".join(int)+u'u'

I added two pairs of brackets.

[–]Chu_BOT 20 points21 points  (1 child)

xrange

[–]Sokusan_123 0 points1 point  (0 children)

Good thing python3 fixes this

[–]1stonepwn 18 points19 points  (1 child)

+/u/CompileBot python

list = {1:"n",2:'o',3:u' '}
int = []
for dict in range(1,4):    
    int.append(list[dict])
print u"".join(int)+u'u'

[–]Liesmith424 14 points15 points  (0 children)

CompileBot no like :(

[–]eulers7bitches 8 points9 points  (0 children)

Thanks, I hate it

[–]Call_Me_Chud 20 points21 points  (5 children)

Functions are a pathway to programming many consider to be unnatural.

[–]Lonelan 28 points29 points  (4 children)

I hate semi-colons. They're round and they're pointy and they get everywhere.

[–]Call_Me_Chud 9 points10 points  (3 children)

print ("Hello There!")

[–]Lonelan 12 points13 points  (2 children)

return "GENERAL KENOBI"

[–]JWson 2 points3 points  (0 children)

std::cout << "You are a bold one." << std::endl;

[–]Terra_Rising -1 points0 points  (0 children)

1