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
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())) |