09 for文

Contents

for 文

for num in range(20):
print(num+1)

演習

sum = 0
for num in range(20):
  sum = sum + (num+1)
print(sum)

 

ビデオ