Tag: Arithmetic

The Collatz Conjecture


The Collatz conjecture is a famous mathematical mystery that has yet to be solved. It is named after Lothar Collatz a German mathematician, who first proposed it in 1937. It is based on the following number sequence: Start with any

Computing Operators


While programming with high-level languages such as Python, you will use four different types of operators as follows: The assignment operator ( = ) which is used to assign a value to a variable or a constant. Arithmetic operators (

The window cleaner’s quote


A window cleaner uses the following pricing policy to calculate how much to charge for cleaning all the windows of his customer’s dwelling. This pricing policy is based on the number of windows that need to be cleaned and works