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