case sensitive
Treating capital and lower-case letters as different, so last, Last and LAST are three separate names.
In more detail
Python names, keywords and string comparisons are all case sensitive: True is a Boolean but true is an undefined name. File names are case sensitive on Linux but usually not on Windows or macOS.
Related terms
- identifier — A name for a thing in code, such as a variable, function or module name.
- NameError — The exception raised when code uses a name that has not been assigned, or is misspelt, or is not visible from here.
Taught in
- Literals, Identifiers And Keywords — Hands-on Python: Complete Video Course & Book
- Chapter One In One Sitting — Hands-on Python: Complete Video Course & Book
- String Slices — Hands-on Python: Complete Video Course & Book
- Interpreter, Compiler, And What Counts As Syntax — PCEP Certified Entry-Level Python Programmer (PCEP-30-02) Exam Prep
- Literals, Names And Four Number Bases — PCEP Certified Entry-Level Python Programmer (PCEP-30-02) Exam Prep
- Strings Sprint — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Mock, Review And Exam Day — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep