This chapter has introduced why we use Python as a programming language, why programming is important aspect in our society , and how to easily get started with programming in Python using Jupyter Notebooks. You also learned basic prints, inputs and why it is important to structure your programs in a structured way.
We have now looked at the most basic to parts to get started with programming in Python. We have looked at how to use Jupyter Notebook to easily get started with our programming. You can get started directly in your browser and it doesn’t matter what operating system you have, Python runs just as well on MacOS, as Linux or Windows. If you have followed this chapter, you should have a working Notebook on your own computer so that you can test the code in the following chapters!
You have also learned how to print in Python by using the print () function and how to format the text so that you can print it in the exact way you want it. Additionally, don’t forget to keep a good syntax so that others understand your code better. Programming can sometimes be difficult to understand at first. Therefore, it might be a good idea to create flow charts of your algorithms before you start coding, so you get a better overview of your program.
Finally, we learned how to provide information, in other words, inputs to our program. We used the input () function to allow the user to submit information into the program. Important to remember that the function saves the input as text strings.