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