+ 1
how to print the runtime input in double quotes( " " )
input : my name is bharath output : "my name is bharath"
3 Answers
+ 3
You can try it like this:
print('"'+input()+'"')
(just for clarity - those are apostrophe-doublequote-apostrophe pairs each time)
0
If you use single quotes on the outside, you can use double quotes in your string.
print(' "Whatever" ')