Skip to content
Advertisement

Python print indentations

In Python 3.x how do you print an indent of white space, the method I am looking for looked something like this

JavaScript

should print:

JavaScript

repeating answer from below: thanks to @sudo_coffee for t

JavaScript

or maybe:

JavaScript

Advertisement

Answer

sorry guys, think I found the answer, thanks to @sudo_coffee for t

JavaScript

or maybe:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement