powered by
Same as print, but adds a specified amount of white space at the start of each printed line
print
indentPrint(object, indent=4, ...)
object is returned invisibly
object
any printable object
a non-negative integer, the number of spaces to insert
other arguments to pass to print
David Firth, d.firth@warwick.ac.uk
indentPrint("this indented by 10 spaces", indent=10)
Run the code above in your browser using DataLab