initial commit
This commit is contained in:
7
Python/OOP3/task2py
Normal file
7
Python/OOP3/task2py
Normal file
@ -0,0 +1,7 @@
|
||||
class SomeClass(object):
|
||||
@classmethod
|
||||
def hello(cls):
|
||||
print("It's", cls.__name__)
|
||||
|
||||
|
||||
SomeClass.hello()
|
Reference in New Issue
Block a user