Skip to content

The case sensitivity example enforces bad intuition. #32

Description

@CharString

Names in Python are references to boxes, not variables. The is operator does not compare identity of names, it compares identity of values:

>>> a = 1
>>> A = 1
>>> print(a is not A)
False

Activity

  1. changed the title [-]The case insensitivity example enforces bad intuition.[/-] [+]The case sensitivity example enforces bad intuition.[/+] on Oct 3, 2024
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