11 lines
273 B
Python
11 lines
273 B
Python
#!/usr/bin/env python2
|
|
# -*- coding: utf-8 -*-
|
|
#e
|
|
def is_numeric(InputList):
|
|
OutputLits = []
|
|
for i in range(len(InputList)):
|
|
t = InputList[i]
|
|
OutputLits.append(isinstance(t,(int, float)))
|
|
#print(isinstance(x,(int, float)))
|
|
return OutputLits
|