This commit is contained in:
Mert Gör ☭ 2023-06-20 19:55:46 +03:00
parent bf63548275
commit 194163d543
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 10 additions and 0 deletions

10
python-temel/init.py Normal file
View File

@ -0,0 +1,10 @@
class Sample:
def __init__(self):
self.a = 10
self.b = 20
def disp(self):
print(self.a, self.b)
x = Sample()
x.disp()