+ 1

Anyone explain how to get output like this:

Anyone explain how to get output like: Hi dude how are u...?

9th Aug 2016, 12:08 PM
Muralitharan G
2 Respuestas
+ 1
you can use the tab scape character ("\t"). an example of this would be: print("Hello \n\tWorld \n\t\tOf \n\t\t\tPython!") the scape character "\n" means a new line so the text will look similar to what you want.
10th Aug 2016, 3:02 PM
Rick
- 1
put as much as u want space after \n while coding....
9th Aug 2016, 4:53 PM
Rakshith Shetty
Rakshith Shetty - avatar