Python Variables and Data Types
One thing I learned about Python variables is that a variable's name and its value are two different things. The name is what we use to identify and reference the variable, while the value is the actual information stored in it.
My experience wasn't exactly smooth, especially when I was working on the student profile exercise. I had quite a number of variables to work with, and I kept running into annoying syntax errors. Sometimes, after correcting one error, another would pop up. It was frustrating because I felt like I was going in circles.
However, I kept working through the errors until I finally got everything right. That experience taught me the importance of paying attention to syntax and understanding how variables work rather than just writing code and hoping for the best.
As for data types, str (string) felt the most natural to me because working with text and names in the student profile made it easier to understand. I also learned how "int" and "float" help Python distinguish between whole numbers and decimal values.
Overall, it was a frustrating but valuable experience. I'm gradually getting more comfortable with Python.
#Variable #data type #learned
