diff --git a/aula141/log.txt b/aula141/log.txt index 8a1bf95..529f3f4 100644 --- a/aula141/log.txt +++ b/aula141/log.txt @@ -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) diff --git a/aula141/main.py b/aula141/main.py index 6c4d372..35e993a 100644 --- a/aula141/main.py +++ b/aula141/main.py @@ -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()