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

11 lines
223 B
Python

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
def is_numeric(lista):
for x in lista:
if not(isinstance(x,float)) and not(isinstance(x,int)):
return False
return True
print(is_numeric([5,56]))