Suppose you need to store a path to a file in lowercase, using the built-in lower() function for this purpose. Look at the code below: when printing path, will we get the string c:\users\public\desktop\temporary\newsletters? If not, just fix the string we pass to path; you do not need to print it.
Escape sequences
Printing the path
Report a typo
Write a program in Python 3
path = 'C:\Users\Public\Desktop\Temporary\Newsletters'.lower()
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.