Question #350804

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.


Expert's answer

print("It goes without saying, \"Time is Money\", and none can deny it.")


Answer on this question is a.


LATEST TUTORIALS
APPROVED BY CLIENTS