diff --git a/python-temel/turetme.py b/python-temel/turetme.py new file mode 100644 index 0000000..64bd8fa --- /dev/null +++ b/python-temel/turetme.py @@ -0,0 +1,15 @@ +class A: + def foo(self): + print('foo') + + def bar(self): + print('bar') + +class B(A): + def tar(self): + print('tar') + +b = B() +b.foo() +b.bar() +b.tar()