How do I put a “ in ”” ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I put a “ in ”” ?

I want my code to have this print(“ “ “ )kind of thing https://code.sololearn.com/cfqm4yZT26cy/?ref=app

4th Jun 2021, 8:05 AM
Timothy
Timothy - avatar
4 Answers
+ 1
Timothy To print quotations inside print use backslash . >>>print("This is a \" word\" ") This is a "word". https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2274/
4th Jun 2021, 8:17 AM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
0
https://code.sololearn.com/c2AEm9WOLmUd/?ref=app support the answer if you got your problem solved.
4th Jun 2021, 8:24 AM
Akshay Panwar
Akshay Panwar - avatar
0
print(" " ") wrong syntax we can use print (" \" ") instead for the same results as i did it in line 130 of your code 👍
4th Jun 2021, 8:26 AM
Akshay Panwar
Akshay Panwar - avatar
0
That doesn’t work
31st Jan 2023, 11:42 AM
Timothy
Timothy - avatar