随笔分类 -  Python3

Python3学习
摘要:https://www.cnblogs.com/abdm-989/p/11991456.html 阅读全文
posted @ 2020-09-21 15:00 chen2013 阅读(79) 评论(0) 推荐(0)
摘要:案例一:输入字符串分割并转化成多个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 =... 阅读全文
posted @ 2019-06-04 13:51 chen2013 阅读(2720) 评论(0) 推荐(0)