Post

@Python_Dv W vs w case sensitive
while is a reserved keyword but While is undefine will cause the interpreter to treat it as a variable name or function identifier, rather than the loop keyword and wrongly placed and used
English

@Python_Dv The capitalization of While is not correct. Python won't recognize it and it'll return an error 😊
English

@Python_Dv Python is case sensitive. So only reserved keywords are allowed to be correct. Hence “While” is wrong.
English

@Python_Dv Syntax Error
Capital letter "W" in the while loop.
...
.@Python_Dv
English

@Python_Dv The while loop of the second code start with a capital letter.
English

@Python_Dv The capital W matters because Linux treats uppercase and lowercase letters as different.
English

@Python_Dv I did this mistake two days ago and i started questioning my sanity at that point until i realised that i changed the vertual keyboard on my phone and it has automatic upper case letters. i was angry and relieved at the same time.
English

@Python_Dv While and while are not the same the first is an identifier the other is a keyword
Ibara-Orile, Nigeria 🇳🇬 English














