14 lines
270 B
Python
14 lines
270 B
Python
#------Version 1-------------------
|
|
#n = input("Input: ")
|
|
#if n.isnumeric():
|
|
# print("Integer")
|
|
#else:
|
|
# print("Not integer")
|
|
#-----------------------------------
|
|
try:
|
|
n = int(input("Integer: "))
|
|
print("Integer")
|
|
except ValueError:
|
|
print("Not Error")
|
|
|