Puzzle 25: Explanation
Let’s find out how white spaces work in Python.
We'll cover the following...
Try it yourself
Try executing the code below to verify the results:
Press + to interact
colors = ['red','green''blue']print(colors)
Explanation
Python’s use of white space is pretty unique in comparison to other programming languages.
The Python documentation says: “A logical line is constructed from one or more physical lines by following the explicit or implicit line joining rules.” ...