0

Is it nessesary to include “\” in a code I can still code without it For example: print('predo\'s shoe is too big')

Regarding to backslash

19th Aug 2020, 7:16 PM
Predominate Baloyi
Predominate Baloyi - avatar
2 odpowiedzi
+ 3
Assuming youre speaking about Python. In that case, you can use the two different quotes, the double quotes " and the single quotes ' With that being said you can mix and match as you see fit: print("predo's shoe is too big") is perfectly acceptable and its more readable
19th Aug 2020, 7:18 PM
Steven M
Steven M - avatar
+ 1
After the given way the usage of \ may be the easiest way.
19th Aug 2020, 7:35 PM
Seb TheS
Seb TheS - avatar