remove last digit from integer python code example Example: remove last digit from number python # remove last digit from number (as integer) number //= 10