Why python 3 is case sensitive when asking input example x = input("Name=") if x == "dante": print("Hello master") else: print("Hello user") when i input Dante the program execute else help please
In every language, uppercase letters and lowercase letters are different. So "Dante" can never be equal to "dante". To make your code work you can replace 'if x == "dante":' With 'if x.lower() == "dante":' What .lower() does is convert the string to lowercase.
Sure.... Dante is not dante.
As far as I know, There is different value attached with each alphabet. So B has different value, b has different value. So any programming language is case sensitive as it directly speaks with the machine.
Правильно x = Type(input())
Such is the syntax
Python basically case sensitive so you sent correct input or change your program .... x = input("Name=") if x == "dante" or x == "Dante": print(" Hello master") else: print("Hello user") Your input is work this code correct output......
I hope it really helped you and yes PIP stopped supporting python 2
Get back in the next 2 years to master python 3 for soon will be released python 4
thank you for the very late answer i really appreciate it
not sure but there's already python 3.1 in testing so im not quite sure about 4.0+
Python — File Handling
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python