In a given sample string, How do you print a double quoted string in between a regular
string using the escape character?
Sample output = It goes without saying, “Time is Money”, and none can deny it.
a. print(“It goes without saying, \“Time is Money\”, and none can deny it.”)
b. print(“It goes without saying, \Time is Money\, and none can deny it.”)
c. print(“It goes without saying” + “Time is Money” + “and none can deny it.”) d. None of the above.
print("It goes without saying, \"Time is Money\", and none can deny it.")
Answer on this question is a.
Comments
Leave a comment