Python Variables & Data Types
After understanding the difference between a variable's name and value, I learned that the name identifies the variable, while the value is the information stored inside it. I also understood why print(name) displays the stored value, while print("name") displays the word itself.
The data type that felt most natural to me was str (string) because it is easy to understand and use when storing names, countries, and other text. This lesson helped me understand how Python stores and displays information.
#variable #data #type, #learned
variabledatatypelearned
41
No comments yet. Be the first to comment.
