0
Print ( len ( "some\nthing" ) why the answer is 9 ? I mean it should be 11
6 Réponses
+ 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