Welcome to Westonci.ca, your one-stop destination for finding answers to all your questions. Join our expert community now! Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Use a raw string literal to assign "C:\file.doc" to my_str (without quotes).

Sagot :

Answer:

r'C:\file doc' Raw string ignore escape sequence, so quotes don't need to be escape and both