How to write multi-line commands in Python?

You can use front slash (\) to add a linebreak in a long Python command as shown in the below example –