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
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