Help me to convert the vertical output of the following code into horizontal. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me to convert the vertical output of the following code into horizontal.

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

18th Nov 2021, 8:55 AM
Surya T
Surya T - avatar
7 Answers
+ 2
Won't it go to subsequent lines and make it messy? You can't scroll it horizontally, like vertically
18th Nov 2021, 9:28 AM
Rishi
Rishi - avatar
+ 2
Surya T I don't think Sololearn has landscape mode any more. Oops! I see what you mean. 🤣😂😅 I hate getting old, the senility creeps in
18th Nov 2021, 10:07 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Rishi, Actually my task is to print that horizontally ,but i don't know how to do that so i have written the code to print that vertically 😅
18th Nov 2021, 9:47 AM
Surya T
Surya T - avatar
+ 1
You can run my code and tilt your mobile towards left side and you can see the actual output to be printed.
18th Nov 2021, 9:50 AM
Surya T
Surya T - avatar
+ 1
Rik Wittkopp What about writing code in an Pycharm IDE 😅
18th Nov 2021, 10:17 AM
Surya T
Surya T - avatar
0
Surya T If you need to output a graph, then matplotlib might be your answer.
18th Nov 2021, 10:13 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Sad part is that i should print without using any libraries
18th Nov 2021, 10:19 AM
Surya T
Surya T - avatar