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