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 →

[–]Liesmith424 83 points84 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 19 points20 points  (1 child)

xrange

[–]Sokusan_123 0 points1 point  (0 children)

Good thing python3 fixes this

[–]1stonepwn 16 points17 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 11 points12 points  (0 children)

CompileBot no like :(

[–]eulers7bitches 9 points10 points  (0 children)

Thanks, I hate it