0

Num=5. How can I print this 5 times

24th Aug 2020, 7:52 AM
Shreyansh
Shreyansh - avatar
3 Respuestas
+ 2
Using a for loop in Python. Review the concept in the sololearn lesson. This is the code: num = 5 for x in range(5): print (num)
24th Aug 2020, 7:58 AM
🈂️Toma
🈂️Toma - avatar
+ 1
Fixed a typo, if you have to look at the code again.
24th Aug 2020, 7:59 AM
🈂️Toma
🈂️Toma - avatar
0
print(*range(Num))
24th Aug 2020, 10:58 AM
george
george - avatar