0
Print ( len ( "some\nthing" ) why the answer is 9 ? I mean it should be 11
6 Answers
+ 5
I tried it and Simba is right, 10 is the output.
The length of "\n" or any escape characters is equal to 1.
https://code.sololearn.com/cL6WSEaIoDDp/?ref=app
+ 1
Simba thanks
+ 1
ASJADđč thanks
+ 1
ă Nicko12 ă thanks