What is different between " and ' | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is different between " and '

23rd Jul 2018, 5:49 AM
Anas Nawaz
10 Answers
23rd Jul 2018, 1:17 PM
Maninder $ingh
Maninder $ingh - avatar
+ 1
Amazing how you explained Thank you very much ♥️
23rd Jul 2018, 6:06 AM
Anas Nawaz
+ 1
☺️☺️
23rd Jul 2018, 6:14 AM
Anas Nawaz
+ 1
You can also use it in combination to print something in quotes print("print 'something' in single quotes") print('print "something" in double quotes') If you use at least three single ' ' ' it means multi line comment. Often used for function description. ' ' ' some commented text inside your code ' ' ' #continue with code
23rd Jul 2018, 6:18 AM
Matthias
Matthias - avatar
+ 1
Matthias you're explaining amazingly well thank you ♥️☺️
23rd Jul 2018, 6:20 AM
Anas Nawaz
0
A search bar always makes a difference. If it is used, anyways. You should be one of those.
23rd Jul 2018, 5:57 AM
Paul Grasser
Paul Grasser - avatar
0
You means there is not a big difference in it
23rd Jul 2018, 6:01 AM
Anas Nawaz
0
No. Just make sure to use the same ones to open and close. Bad: "Hello!' Good: "Hello!" Good: "This is Paul's room"
23rd Jul 2018, 6:05 AM
Paul Grasser
Paul Grasser - avatar
0
I meant use the search bar next time.
23rd Jul 2018, 6:05 AM
Paul Grasser
Paul Grasser - avatar
0
You're welcome!😉
23rd Jul 2018, 6:14 AM
Paul Grasser
Paul Grasser - avatar