Computer Science

Which of the following statement prints the shown output below?

hello\example\test.txt

  1. print("hello\example\test.txt")
  2. print("hello\\example\\test.txt")
  3. print("hello\"example\"test.txt")
  4. print("hello"\example"\test.txt")

Python Funda

23 Likes

Answer

print("hello\\example\\test.txt")

Answered By

6 Likes


Related Questions