learn-python
learn-python copied to clipboard
Incorrect Info in datatype(string)
# +---+---+---+---+---+---+
# | P | y | t | h | o | n |
# +---+---+---+---+---+---+
# 0 1 2 3 4 5 6
# -6 -5 -4 -3 -2 -1
HEY ☺️ @trekhleb 👋,
In Chapter 3 . DataTypes (3.3 $tring) You explain about String Index
Whereas In Line (76-80) I found an Mistake
Pls 🙏 reCorrect
Info view The Problem # +---+---+---+---+---+---+ # | P | y | t | h | o | n | # +---+---+---+---+---+---+ # 0 1 2 3 4 5 6 # -7 -6 -5 -4 -3 -2 -1
I actually test python[-1] = n (_we get last char of string)`
Love❤️ Your Work on this Repo REGARD @prajwalkedari