1
0
forked from tdwojak/Python2017
Python2017/labs04/task01.py
2017-12-03 17:16:56 +01:00

12 lines
219 B
Python

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
def isNumeric(x):
for i in range(len(x)):
if isinstance(x[i], (int , float ))==False:
return False
return True
print(isNumeric([1,4,4.8,4]))