def sum(): sum = 0 for n in range(1, 101): sum = sum + n return sum
print(‘一到一百相加的和是:’,sum())
海报分享
扫一扫,分享海报
打赏
lwr0410_
你的鼓励将是我创作的最大动力
确定
一键三连