In this section, you will explore data types, variables, input and output functions, and discover more about calculations and mathematical operators in Python.
Rodney: Hey, Smart System, what are we going to learn in this module?
Smart System: In this module of Python programming, we will look at data types and variables, input and output functions, calculations, and some built-in functions. These are very important basic concepts in Python and will be used in every programme you write.
Rodney: That's right, programmes work with data, and data can come in many forms. Inputs from sensors, images, audio files, counts of things, spreadsheets, text documents. Overall, numbers and text. You probably know that computers store everything in binary and that your programme and your data have to be converted to a binary format before it can run. With Python, this is done by the Python interpreter and you can often ignore the details, but the data types are essential for the interpreter to understand what data your programme is working with and how to interpret it. By the end of module two, you should be able to write a programme that takes keyboard input, does a calculation, and prints the results. For example, currency conversion or encoding a password. Variables and data types are fundamental Python techniques and will be needed for your workplace project in the Apply phase of the course. They are likely to come up as part of the live readiness quiz, which tests whether you have understood the content of the module and if you have sufficient knowledge prior to attending the live training. Our second Python example is data visualisation. Python has several code libraries that you can use to help you look at your data. You could plot crime data on a map of your town, write an interactive dashboard for live management information, or produce elegant and informative graphs for a sales report. With Python programming, you can easily automate a lot of tasks in your workflow.
A world-leading tech and digital skills organization, we help many of the world’s leading companies to build their tech and digital capabilities via our range of world-class training courses, reskilling bootcamps, work-based learning programs, and apprenticeships. We also create bespoke solutions, blending elements to meet specific client needs.