1
0
forked from tdwojak/Python2017
Python2017/labs04/task03.py
2017-12-03 15:40:52 +01:00

19 lines
388 B
Python

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
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())