Discover the best answers at Westonci.ca, where experts share their insights and knowledge with you. Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

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