NP8 为整数增加小数点

This commit is contained in:
轩辕龙儿 2022-10-25 13:21:18 +08:00
parent e16d73dece
commit 66070f0497

8
NP/NP8.py Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/25
# @file NP8.py
a = int(input())
num = float(a)
print(num)
print(type(num))