Loading…
Create a class called Car whose __init__ stores make and model as instance attributes. Create Car(Toyota, Corolla) and print its make and model on one line, separated by a space.
Expected output: Toyota Corolla
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.