Sandeep
You're right about python being case-sensitive.
But these are environment variables, not Python variables. What makes environment variables so easy to work with is that the variables you create in your .env file are saved onto your local OS. When you use os.environ you tell Python that it has to search on your OS for the needed variable, nothing more. Sounds very technical because it is.
Just remember that using uppercase for the variables in your .env file is the easiest way to not get complications if you want someone else to use your code.
Sandeep
learning python 🐍
Why do we need to write the variable in uppercase in .env file? Is it required?