Remova o último dígito do número Python
# remove last digit from number (as integer)
number //= 10
Wicked Wombat
# remove last digit from number (as integer)
number //= 10