1
0
forked from tdwojak/Python2017
Python2017/labs04/task01.py
2017-12-03 15:34:43 +01:00

11 lines
189 B
Python

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
def is_numeric(a):
if isinstance(a, int):
print ("integer")
if isinstance(a, float):
print("float")
is_numeric(1.2)