2017-12-03 13:05:05 +01:00
|
|
|
#!/usr/bin/env python2
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2017-12-03 15:40:52 +01:00
|
|
|
def is_numeric(InputList):
|
|
|
|
OutputLits = []
|
|
|
|
for i in range(len(InputList)):
|
|
|
|
t = InputList[i]
|
|
|
|
OutputLits.append(isinstance(t,(int, float)))
|
|
|
|
return OutputLits
|
|
|
|
|
|
|
|
class Point:
|
|
|
|
def __init__(self, StartList):
|
|
|
|
self.StartList = StartList
|
|
|
|
|
|
|
|
def retx(self):
|
|
|
|
return self
|
|
|
|
|
|
|
|
x = Point([2])
|
|
|
|
print(x.retx())
|