Python Variables & Data Types
This section served mostly as a revision for me, but I also learned more about data types along the way. It was a good refresher .
Understanding the difference between a variable’s name and its value made it clear that the name is only a label that points to the value, while the value is the actual data stored.
I learned about snake_case again also reminded me that good naming keeps code clean and easy to read, for example battery_voltage instead of x.
I now understand better how str, int, and float differ, and why Python treats "5" (text) and 5 (a number) differently.
Among the three, str felt the most natural to me, because it works like everyday language. Text and labels are easy to write and understand, and I did not have to think about number rules or decimal places.
