Tagged: arithmetic

Everything tagged "arithmetic", newest first.

Coding Practice ·

Python Coding Exercise #09: Calculations with Input

Three short beginner Python exercises that read numbers with input() and calculate with them — seconds in a number of days, the sum and product of two numbers, and the sum and mean of four numbers.

Coding Practice ·

Python Coding Exercise #06: Arithmetics

A beginner Python exercise on arithmetic operators and f-strings — print the sum, difference, product and quotient of two variables so the program still works when the values change.

Coding Practice ·

Python Coding Exercise #03: Printing Output

Two beginner Python exercises on print() — calculating the minutes in a year inside a print statement, and printing a line of code that itself contains quotation marks.

All tags