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
相关文章
相关标签/搜索