Python-Quizzes | Python String Quiz | Question 14
Question 14: What is the output of the following program?
print (r 'C:\\inside C directory' ) |
chevron_right
filter_none
(A) C:\inside C directory
(B) C:\\inside C directory
(C) inside C directory
(D) Error
Answer: (B)
Explanation: It is a raw string that will treat backslash as a normal character.
Quiz of this Question