Several lines of code - AndrewMZ6/python_cheat_sheet GitHub Wiki

If python expression is very long it's a good idea to write it in multiple lines using symbol "" at the end of the line

>>> my expression = 2**3 + 9 + (7/2) + \
...     8*3 - 4 - 1*6

In matlab to do such thing you want to use "..." instead