#!/usr/bin/env python2
# -*- coding: utf-8 -*-
def is_numeric(a):
for i in a:
if not(isinstance(i,int)) and not(isinstance(i,float)):
return False
return True
print(is_numeric([10,20,30]))
print(is_numeric([10.9,20.4,30]))
print(is_numeric(['abc','def',10]))