+ 1
Does it matter if u use " or ' in a normal string?Whats the difference and if so when should i use which?
4 Respostas
+ 2
Actually,
(‘This is Mr.bean's pen’) will work just fine. You just need to eacape the apostrophe
print (‘This is Mr. Bean\’s pen’)
+ 1
Ok so it doesn't matter only 1 exception good ty
+ 1
Just like flora said but the single qoute would be included in the output. Probably a typo.
If you want to include the same type of qoutation marks inside the string you can use the escape character \ before the qoutation. :)
+ 1
Ohh ye that even quicker