Python Variables & Data Types
Understanding the difference between a variable's name and value made me realize that a variable is like a container that holds information. The name identifies the container, while the value is the actual information stored in it. I also learned that a variable's value can change when needed.
Among the data types, int (integer) felt the most natural to me because it represents whole numbers, which are easy to understand and use. However, I also learned that str is useful for text, while float is used for numbers with decimal points. This lesson has helped me understand how Python stores and works with different types of data.
Lastly, I understand that Python Variables are Case sensitive, once you use capital instead of small letters to write your variable, a syntax error will occur.
#python. #variables. #data. #learned
