(Parte 4) Eletrônico, Smartphone com Mixin e a união de tudo até aqui
This commit is contained in:
@@ -9,3 +9,5 @@ Success: Galaxy S está ligado (Smartphone)
|
||||
Error: iPhone está desligado (Smartphone)
|
||||
Success: Galaxy S está ligado (Smartphone)
|
||||
Error: iPhone está desligado (Smartphone)
|
||||
Success: Galaxy S está ligado (Smartphone)
|
||||
Error: iPhone está desligado (Smartphone)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
conta_1 = ((1 + 1) ** (5 + 5))
|
||||
from eletronico import Smartphone
|
||||
|
||||
print(conta_1)
|
||||
galaxy_s = Smartphone('Galaxy S')
|
||||
iphone = Smartphone('iPhone')
|
||||
|
||||
galaxy_s.ligar()
|
||||
iphone.desligar()
|
||||
|
||||
Reference in New Issue
Block a user