!/usr/bin/env python * coding:utf-8 * a = float(input()) # 将输入的浮点数赋值给ab = int(a) # 将a取整并赋值给bc = b % 10 # b除以10,所得余数赋值给cprint(c) # 打印输出c,也可将a,b输出以观察中间步骤