📅  最后修改于: 2022-03-11 14:46:10.143000             🧑  作者: Mango
代码示例1
n = 23 #(whatever number you want)
if n%1 == 0:
print("True. n is an integer")
else:
print("False. n is not an integer")