New course! Every coder should learn Generative AI!
Try a free lesson0
Kindly help me with my code, getting Syntex error
2 Answers
+ 5
Manikanta Subhash Alapati
In while loop you missed colon(:)
Correct it...it runs
and add n=n-1 statement in while loop
+ 1
Riya thanks 😁