摘要: 都是python3.8的特性 fstring def sum(a,b): return a +b a = 1 print(f'{a = }, {sum(a, 2) = }') print(f'a = {a}, sum = {sum(a, 2) }') a = 1, sum(a, 2) = 3 a = 阅读全文
posted @ 2020-08-15 15:46 vivi~ 阅读(147) 评论(0) 推荐(0) 编辑