#24491: python - 一行解 sum()


hsugoya@gmail.com (90611.cls)

School : 國立臺北科技大學
ID : 139476
IP address : [36.224.203.187]
Last Login :
2021-07-30 11:02:28
a002. 簡易加法 | From: [59.115.139.129] | Post Date : 2021-02-26 07:45

sum包住input

再print

print(sum(map(int,input().split())))

 
 
ZeroJudge Forum