Incorrect Info in datatype(string) · Issue #73 · trekhleb/learn-python · GitHub
Skip to content

Incorrect Info in datatype(string) #73

Open

Description

@prajwalkedari
# +---+---+---+---+---+---+
#  | 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

Activity

  1. added a commit that references this issue on Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions