ctrl+?整体注释
输出1-100内的奇数: n=1 >>> while n<101: ... temp=n%2 ... if temp==0: ... pass ... else: ... print(n) ... n=n+1 sum([1,2,3]) 6
求和:sum([1,2,3])
6
标签:奇数 ... style ctr gpo temp 输出 log python
ctrl+?整体注释
输出1-100内的奇数: n=1 >>> while n<101: ... temp=n%2 ... if temp==0: ... pass ... else: ... print(n) ... n=n+1 sum([1,2,3]) 6
求和:sum([1,2,3])
6
标签:奇数 ... style ctr gpo temp 输出 log python
原文地址:https://www.cnblogs.com/wfl9310/p/8692856.html