Web Development: Python for Beginners in 2022
On the 18th of January 2022, I wrote my first line of code with python. It wasn't “Hello world” if you're wondering. I found myself at my Bootcamp learning more about calculation and solving maths like word problems with python, which was fun and I realized that I had not done maths for a while. At this point solving anything with math made me feel alive again.
During the class, it was mentioned that sometimes programmers tend to make mistakes when it comes to data types on python for example a “ 5”, 5, and a 5.0 are different data types. “5” is a string, 5 is an integer, and 5.0 is a float. Furthermore, I used the print function print(type(“5”)), print(type(5)), print(type(5.0)) to get the type of data, and a fun fact is that the data type can be changed. From the example above, I converted a string to an Integer using print(type(int(“5”))).
That's all folk, my first experience with python. I definitely can’t wait to start writing server-side logic. Hopefully, by the end of my web development program, I would create a bank and task management application.
Thank you for reading.