Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list = []
- while(True):
- print("数を入力してください:(終了:x)")
- try:
- list.append(float(input()))
- except:
- break
- print(list)
- print("最大値は、 " + str(max(list)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement