0
How do you add a variable in quotation marks?
I want to make the code ask, What is your name. It will save the answer in a variable then say, so you call yourself â(the variable)â huh? I dont know how to add the variable in quotation marks.
1 Answer
+ 1
Yannis Ho Itâs easy in Python, we can use both âstrâ and âstrâ as long as they are matching. âstrâ is incorrect.
So when you use one to define a string you can use the other inside.
I posted an example for you here:
https://sololearn.com/compiler-playground/c4j37UmUPr6D/?ref=app