Python | Question 2 - NCSS

/ 6 Aug 2013 /

1
2
3
4
5
6
7
8
line = ' '
list1 = []
while line != '':
    line = input('Line: ')
    list1.append(line)
for line in list1:
    if line != '':
            print(' '.join(word[::-1] for word in line.split()))

Whoops i'm a genius
 
Copyright © 2010 M(ath)+me, All rights reserved