In this lesson, I bring together the few basics discussed in the previous videos and this video. To do this I will discuss one more important principle in programming and that is:
I have already introduced some data types like strings, integers, and floats. But there are more types you need to know about before we can continue.Continue reading “Learn how to code with Python – Lesson 5 – Basics wrapup”
One of the most useful things to know how to do when just learning how to program is knowing how to read and write text files. In this video, I show you how to do just that.
Example code from the video:Continue reading “Learn how to code with python: Lesson 4 – Reading and writing files”
Below is lesson number 3 in the series: Learn how to code with Python. In this lesson I explain the basic things you need to know to start working productively with numbers in Python.
In the video I talk about the different types of numbers:
- Integers, or int in Python
- Floating point number, or float in Python
You can use the Python type() function to see the type a number holds.Continue reading “Learn how to code with python: Lesson 3 – Working with numbers”