class type
This commit is contained in:
parent
1a0db0282c
commit
4d34b769cd
7
python-temel/class.3.py
Normal file
7
python-temel/class.3.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Sample:
|
||||
def foo(self):
|
||||
print('foo')
|
||||
|
||||
s = Sample()
|
||||
print(type(Sample))
|
||||
print(type(s))
|
Loading…
Reference in New Issue
Block a user