Advertisements
Advertisements
Question
Find the errors from the given code.
i=10 ;
while [i<=n] :
print i
i+=1Very Short Answer
Advertisements
Solution
Errors: Square brackets cannot be used around the while condition, and n must be assigned a value before use.
shaalaa.com
Is there an error in this question or solution?
