Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import veiculo
- class Carro(veiculo.Veiculo):
- def __int___(self, cor, tipo_combustivel, potencia, qtd_portas):
- super().__init__(cor, tipo_combustivel,potencia)
- self.qtd_portas = qtd_portas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement