Answers for "python for loop basics"

2

python for loop

a = 10 
for i in range(1, 10) # the code will move from the range from 1 to 10 but not including 10
	print(i)
Posted by: Guest on January-17-2021
-1

loop python

for x in range(6):
  print(x)
Posted by: Guest on November-14-2020

Python Answers by Framework

Browse Popular Code Answers by Language