Is this code correct | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is this code correct

>>> "Me: I hate it\'s tail"

5th Jun 2019, 10:22 PM
Honest Thomas
Honest Thomas - avatar
4 Answers
+ 2
You don't need a ' at all because it's "its tail"
6th Jun 2019, 5:34 AM
Anna
Anna - avatar
+ 1
u dont even need the backslash if u use double quotes
5th Jun 2019, 10:57 PM
Flash
0
If you mean printing it out then yes it's right and it will output: Me: I hate it's tail
5th Jun 2019, 10:32 PM
Mo Hani
Mo Hani - avatar
0
Thanks for the help
6th Jun 2019, 6:17 PM
Honest Thomas
Honest Thomas - avatar