Can anyone check what's wrong with my code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone check what's wrong with my code?

i = 1 while i < 10: print(i) i += 1

6th Aug 2021, 2:15 AM
NUR HUSNA BINTI ABDUL RAZAK
2 Answers
+ 2
You forget to indent the fourth line
6th Aug 2021, 3:31 AM
Anas Dharar
Anas Dharar - avatar
6th Aug 2021, 7:42 PM
Calvin Thomas
Calvin Thomas - avatar