+ 3
How to get output with double quotes like "Hi Julie", output should contain double quotes as well. Any guesses??
Question in mind
5 Respostas
+ 6
This will print a backslash as well.
print("\\")
# in python
+ 3
Put a backslash before every quote you wish to be in your output.
+ 3
print(“”hello””) will not work so try:
print(“\”hello\””)
+ 2
Thank you Jax, what if I wish to print backslash as well
+ 2
Hmmmm. . . . Can you tell me what you’re doing? I might be able to help better that way, but unless the backslash is before a parentheses it should print it.