Python doesn't check for spelling errors.
For example, let's take this variable name - namos (instead of name). If you assign a value to it and you print it with the same name - Python will display the value. This is seen as correct by Python even though, for us, that is a spelling mistake.
The conclusion is this - even though is always advisable to use a variable name that is appropriate for the value, make sure that the variable names are consistently written everywhere in your code.
-------------------------Subscribe----------------------------
• If you like to see a variety of fun and interactive projects written in Python
• If you love ☕ and 🐶 WAIT! - Yeah! Definitely, coffee and dogs!
-----------------------------------------------------------------------
-------------------------Socials----------------------------
• Twitter: / iftodd1
• Facebook: / iftodd
• Instagram: / if_todd
------------------------------------------------------------------
-------------------------Support----------------------------
You can support me here: / if_todd
--------------------------------------------------------------------
#error #python
How to avoid variable name errors in Python #shorts