#python program to print a line thrice. #while loop. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

#python program to print a line thrice. #while loop.

Count=0 While (count<3): Count +=1 Print(count)

28th Apr 2020, 2:50 PM
Omprakash Mishra
2 Answers
+ 6
The problem in this code are several errors in syntax: Count=0 # Count in different versions lower / upper spelling while (Count<3): # while needs to be in lower case Count +=1 print('hello') # print needs to be in lower case
28th Apr 2020, 5:30 PM
Lothar
Lothar - avatar
0
Whats your problem?
28th Apr 2020, 3:41 PM
Slick
Slick - avatar