- 2
How can we use string in double quotes
4 odpowiedzi
+ 3
I can't understand your question
please give a example what you want
+ 3
You can use either single or double quotes for strings which contain the other type of quotes inside. However, if a string contains both single and double quotes, one pair has to ve escaped:
my_string = 'She said: "Come with me", so I followed her.'
my_string2 = "It was her parents' house we were in."
my_string3 = "Although everything said \"Don't do it!\" - I had to try doin' it."
+ 1
yes you can, ussualy with another pair of quotes or by using the escape character. Though i have programmed in python
0
didn't get the question