Skip to content

Minor edit in python-tuples: tuple is built in to Python 3.9+, no need to import #6117

Description

@mcmcgovern

Bug Report for https://neetcode.io/problems/python-tuples

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

Python versions 3.9 and below no longer require importing Tuple from typing. The standard way is now to just use tuple the same way other types are used like int, list, etc. Python 3.9 and below have reached their end of life, so I think it is good to teach people the way things should be done going forward.

Activity

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