#!/usr/bin/env python2 # -*- coding: utf-8 -*- #**ćwiczenie 1** #Napisz funckję ``is_numeric``, która sprawdzi, czy każdy element z przekazanej listy jest typu int lub float. Wykorzystaj funcję ``isinstance()`` (https://docs.python.org/2/library/functions.html#isinstance). def is_numeric(x): for i in x: if (isinstance(i, (int, float)) == True): return True else: return False print(is_numeric([5.62,7,8]))