+ 2
How to print abc*x"yz' ?
How to write print command to get abc*x"yz' as output ?
4 Answers
+ 3
If you're only talking about using the print function just to print abc*x"yz' then that's easy. Just use triple quotes otherwise you would have to escape a character quote.
print(""" abc*"yz """)
+ 1
print("abc*\"yz\'")
0
its easy..you just have to use a backslash \ before appliying quotes and rest as it is. Example:
print("abc*x\"yz\'")
0
print('abc*x"yz\' ')