Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

General python question thread

Name: Pythonymous 2011-06-05 22:51

def reverseit(x):
    y = ''
    for i in range(len(x)):
        j=len(x) - i -1
        y = y + x[j] 
    return(x)


What's wrong with this code?  inb4 FIOC

Name: Anonymous 2011-06-06 3:31

>>6

Could you explain it to me?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List