Indent each line in a string
$ apt-get install python3-pip
$ pip install indent
from indent.indent import indentation
indentation('Shadab\nZafar', '&', 3)
//=> &&&Shadab
//=> &&&Zafar
Required
Type: string
The string you want to indent.
Required
Type: string
The string to use for the indent.
Required
Type: number
Default: 1
How many times you want indent
repeated.
Make count
as a default parameter.