PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Which of the following statement prints hello\example\test.txt ?
A. print("hello\example\test.txt")
B. print("hello\\example\\test.txt")
C. print("hello\"example\"test.txt")
D. print("hello"\example"\test.txt")
Show Answer
Next Question
Correct Answer:
B
Explanation: \is used to indicate that the next \ is not an escape sequence.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap