0

Python related

For i in range(20) Print("hello") Not working

3rd Jan 2025, 11:56 AM
OMENDRA SINGH KASHYAP
OMENDRA SINGH KASHYAP - avatar
2 Answers
+ 5
for i in range(20): print("hello") You don't capitalize for, there is no colon at the end of the for function, and you indent the next line, and print does not get capitalized.
3rd Jan 2025, 2:32 PM
BroFar
BroFar - avatar
+ 4
Indentation and a colon missing I suggest you to check out intro to python course:- https://www.sololearn.com/learn/courses/python-introduction
3rd Jan 2025, 12:01 PM
Alhaaz
Alhaaz - avatar