Advertisements
Advertisements
Question
Find the errors from the given code.
for i in 1 to 100 :
printIVery Short Answer
Advertisements
Solution
Errors: Python does not use 1 to 100; use range(). Also use the same variable name i, and Python 3 print().
shaalaa.com
Is there an error in this question or solution?
