|
|
back to boardShow all messages Hide all messagesHere's my code: import math a = input() a = a.replace('\n', ' ') a = a.split() a.reverse() for i in a: print(math.sqrt(float(i))) Edited by author 10.05.2014 16:59 What we are inputting is a stream of inputs, that may contain '\n'. On the other hand, input() cannot contain newline character. |
|
|