Puzzle 23: Explanation
Let’s find out how paths work in Python.
We'll cover the following...
Try it yourself
Try running the code below to verify the results:
Press + to interact
path = 'c:\path\to\nowhere'print(path)
Explanation
The \
in Python strings is used as an escape sequence so that we can write ...
Access this course and 1400+ top-rated courses and projects.