Download the unit 2 Slides
Welcome to UNIT 2 - Basic Maths. Here we explore how to perform basic mathematical programming, looking into defining variables, understanding the different types of data we can store and how to use maths functions in Python. We also look at solving problems by hand, and the basics of user input and output.
To declare and initialize variables and constants
To understand the properties and limitations of integers and floating-point numbers
To appreciate the importance of comments and good code layout
To write arithmetic expressions and assignment statements
To create programs that read, and process inputs, and display the results
To learn how to use Python strings
To understand the basic of problem solving for programming.