Advertisements
Advertisements
प्रश्न
Find the errors from the given code.
i=10 ;
while [i<=n] :
print i
i+=1अति संक्षिप्त उत्तर
Advertisements
उत्तर
Errors: Square brackets cannot be used around the while condition, and n must be assigned a value before use.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
