Printing the path

Report a typo

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.

Write a program in Python 3
path = 'C:\Users\Public\Desktop\Temporary\Newsletters'.lower()
___

Create a free account to access the full topic