How to get output command on new line ? & Can I display the text in command window ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to get output command on new line ? & Can I display the text in command window ?

I want to start the command on new line of this program which Hello (Name) coming on same line of above command Code :- https://code.sololearn.com/cXmhbYfDSSIS/?ref=app And can Display ("What is your name ?") This text in command window ?

8th Aug 2019, 6:02 PM
Sayyam Jain
Sayyam Jain - avatar
1 Answer
+ 4
hi. i modified your code a bit. you can use \n between "" (double ") so it will print a new line. here's the link to code: https://code.sololearn.com/ce21y9mBBcHW/?ref=app
8th Aug 2019, 7:09 PM
notqueued
notqueued - avatar