Examveda

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”)

Answer: Option B


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python