+ 1
Find the outpt
4 Answers
+ 1
after run the Output
+ 1
remember that range is exclusive.
this means that when using two numbers the second one will be âup toâ NOT âup to and includingâ
range(2,2) is saying something like, start at 2 but end before you reach 2
0
put a semi colon ( : ) after your for statement, and it will run
for i in range(2,2):
0
will it wonât give you an output because the the range is from 2,2 which is basically saying it is zero