0
What value is given to this space " " when indexing strings
Question
3 Answers
+ 7
David Lahu , as the string consists of only one character (space), the index is 0. Indexing always starts with 0 in python and in most other languages.
+ 2
Well, a space is " " as character. But maybe I get your question wrong?
0
Lisa you're right but I got it now thanks anyway