#!/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]))