Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
The print function
Variables
Math in Python
14. Floor division operation
The input function
Summary

Instruction

Great! Apart from standard division (/), there is also floor division (//), which is sometimes called integer division. How does it work? Given

a // b
it divides a by b, but always returns an integer value: any fractional part is discarded. In other words, the result is always rounded down to the nearest integer. For instance:

17/5 = 3.4
17//5 = 3

7/4 = 1.75
7//4 = 1


Exercise

We have 1000 cm of string in our warehouse, and we want to produce as many shoelaces as possible. One shoelace is 60 cm long. How many shoelaces can we produce? Print the answer.

Stuck? Here's a hint!

Simply use:

print(1000//60)