Why is python case sensitive? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Why is python case sensitive?

28th Apr 2019, 11:50 AM
Vicco Action
Vicco Action - avatar
9 Answers
+ 12
What makes it sensitive is that it does not know the differences You have learnt python I have not If there are variables in it Lets say var 1 and Var 1 are two different variables In html it is insensitive because Hello and hello are the same <p> and </P> are the same
28th Apr 2019, 1:30 PM
Hector Domingo{ }
Hector Domingo{ } - avatar
+ 4
Noi challenge me in pyton
3rd May 2019, 4:03 PM
Felix Brobbey
Felix Brobbey - avatar
+ 3
You need to define what you mean by sensitive. If you didn't mean case sensitive, clarify it.
29th Apr 2019, 1:12 AM
Sonic
Sonic - avatar
+ 3
Python is a sensitive language like C++, JAVA . A language is case-sensitive if it distinguishes between identifiers like my address and My Address. In other words, it cares about case- lowercase or uppercase. Yes, Like most of the widely used programming languages like Java, C, C++, etc, Python is also a case sensitive language. http://pythonandmltrainingcourses.com/courses/best-diploma-in-python-course-in-delhi/
29th Apr 2019, 5:33 AM
rajshivakoti
rajshivakoti - avatar
+ 1
It has been constructed to be like that
28th Apr 2019, 12:09 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 1
Thanks for the answers
6th May 2019, 6:02 PM
Felix Brobbey
Felix Brobbey - avatar
0
It is Case sensitive . "Hello" and "hello" are different strings. You want a program that asks the user to type HELLO and print that output only if the user types that correctly , Hello or HeLLo won't work
28th Apr 2019, 4:56 PM
Dhanush
Dhanush - avatar
0
Obviously because they made it like that. But "why" they made it like that? In short because it is a "Programming Language" unlike HTML. See, Python is used in almost every field and they don't want to limit the number of variables or identifiers to remain limited. For example, X can be a matrix and x is the iterator of that matrix. In mathematics we don't want to limit ourselves with symbols and variables, so every different looking variable is different.
29th Apr 2019, 6:28 AM
Mrityunjay Tripathi
Mrityunjay Tripathi - avatar
0
Yes, Python languages are case sensitive, so these equality check methods are also case sensitive. We also offering python training in chennai for all streams of engineering students. More details : https://codebindtechnologies.com/python-training-in-chennai/
13th Sep 2019, 11:18 AM
zafrinazara