题解 | #读入整数数字#
读入整数数字
https://www.nowcoder.com/practice/a82efa7714e9466b9f9e1020b4da2b45
a=int(input()) print(a) a_type=type(a) print(a_type)
可以用if判断语句,但是我个人感觉有点杀鸡用牛刀了,联系前面几题想到了这个办法。
读入整数数字
https://www.nowcoder.com/practice/a82efa7714e9466b9f9e1020b4da2b45
a=int(input()) print(a) a_type=type(a) print(a_type)
可以用if判断语句,但是我个人感觉有点杀鸡用牛刀了,联系前面几题想到了这个办法。
相关推荐