0
Can someone give me a simple explanation of this function () and what is the different with (self)
2 odpowiedzi
+ 2
Please don't write codes into the Relevant Tags. Rather put 'Python OOP' 👍
0
def hello ():
Print ("Hello World!")
Simplest function.
And about self is when you create a function inside a class then you need to pass like a parameter in every function you create inside of it.