Python3 acm基礎輸入輸出

案例一:輸入字符串分割並轉化成多個int數值 a, b= map(int, input().split()) try:   while True:     a, b= map(int, input().split())     print(a+b) except EOFError: pass   案例二:輸入一個數值轉化爲int t =int(input().strip()) t =int
相關文章
相關標籤/搜索