Unterricht Dienstag
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
from telefon import Telefon
|
||||
from computer import Computer
|
||||
|
||||
# Vererbung (Python kann Mehrfachvererbung):
|
||||
class Smartphone(Computer, Telefon):
|
||||
def __init__(self, bezeichnung:str, netz:str, *args):
|
||||
super().__init__(bezeichnung, netz, *args)
|
||||
Reference in New Issue
Block a user