Why python is a case sensitive language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
15th Dec 2019, 6:46 AM
Abhishek Yadav
Abhishek Yadav - avatar
1 Answer
+ 7
""" Python is case sensitive ,means it treats both uppercase and lowercase as different things. mypy =5 MyPy=10 both `mypy` and `MyPy` are treated as 2 different variables. print(mypy) #5 print(MyPy) #10 Same for keywords, you can't use `Print` for `print` some languages are case insensitive. HTML is one of case insensitive languages. So here <header> and <HEADER> are same things. <h1> and <H1> are also same. In sql as well case doesn't matter. """ ~https://www.sololearn.com/discuss/2056912/?ref=app Abhishek Yadav , please change tags and remove the code link. add relevant tags only.
15th Dec 2019, 6:55 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar