initial commit
This commit is contained in:
9
Python/OOP3/task3.py
Normal file
9
Python/OOP3/task3.py
Normal file
@ -0,0 +1,9 @@
|
||||
class SomeClass(object):
|
||||
@staticmethod
|
||||
def hello():
|
||||
print("Hello world")
|
||||
|
||||
|
||||
SomeClass.hello()
|
||||
obj = SomeClass()
|
||||
obj.hello()
|
Reference in New Issue
Block a user