list_of_numbers = input('请输入数字,用空格隔开,按回车键结束:').split() print(f'求和:{sum([int(x) for x in list_of_numbers])}') # 注意Python是强类型 ...
確定! 回上一頁