python3之輸入輸出格式

我的博客頁面連接:http://www.shihao.online/(django搭建的我的博客,還在完善中)python #encoding:utf-8 #有多組輸入數據,但組數不肯定 while True: try: a, b = map(int, input().split(' ')) #以空格隔開 print(a + b)
相關文章
相關標籤/搜索