I want to display output in single Line... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want to display output in single Line...

https://code.sololearn.com/cYCpuq2sEQ4I/?ref=app

5th Sep 2018, 10:35 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
2 Answers
+ 7
- Replace print("*") with print("*",end="") - Remove the print("") at line 6 ( no use ) Or maybe... you want a pattern like this - * ** *** **** ***** ...for this, don't remove the print ("") at line 6
5th Sep 2018, 10:42 AM
Nikhil
Nikhil - avatar
+ 2
thanks
5th Sep 2018, 11:36 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar