Instantly share code, notes, and snippets.

anonymous /ketaochi.py Secret
Created Apr 15, 2016

Embed
What would you like to do?
A=[]
while True:
try:
A.append(float(input()))
except EOFError:
break
for i in A:
print(i)
print("sum =",sum(A))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment