Simple maths
Programming involves some maths. Every program, from games to apps, will use maths in some form. The following symbols allow you to do the basic maths functions –
- * Multiply
- / Divide
- + Plus
- – Minus
In order to make your python program output the answer to a calculation you need to use the print keyword. Remember that one? Why not try out the code below –
print 3 + 5 print 9 * 20 print 20 / 5 print 90 - 21
To move onto the next task work out the answer to 54321 * 94821 and print it out!
Output: (clear)











