题解 | #浮点数的个位数字#
浮点数的个位数字
http://www.nowcoder.com/practice/ffa94d27c6534396aef38813535c279f
!/usr/bin/env python
* coding:utf-8 *
a = float(input()) # 将输入的浮点数赋值给a
b = int(a) # 将a取整并赋值给b
c = b % 10 # b除以10,所得余数赋值给c
print(c) # 打印输出c,也可将a,b输出以观察中间步骤