This content originally appeared on DEV Community and was authored by Anthony Beckford🚀
Today's short lesson is about learning variables in Python
This will be a short but straight to the point of how variables work in Python.
When you are declaring a variable in Python you dont need a keyword. It also doesn't have to be specific because its automatically inferred from the value you specify. A variable is created as soon as you assign a value to it
Here are some examples:
Age = 5;
Name = "Anthony"
This content originally appeared on DEV Community and was authored by Anthony Beckford🚀
Anthony Beckford🚀 | Sciencx (2024-09-29T17:58:44+00:00) Come learn the basics of Python with me starting with Variables. Retrieved from https://www.scien.cx/2024/09/29/come-learn-the-basics-of-python-with-me-starting-with-variables/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.