+ 5
Why is python case sensitive?
9 Antworten
+ 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
+ 4
Noi challenge me in pyton
+ 3
You need to define what you mean by sensitive. If you didn't mean case sensitive, clarify it.
+ 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/
+ 1
It has been constructed to be like that
+ 1
Thanks for the answers
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
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.
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/