Advertisement
Mizuhara_Chizuru

Untitled

Jun 20th, 2022
724
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Vehicle:
  2.     def __init__(self, max_speed, mileage):
  3.         self.max_speed = max_speed
  4.         self.mileage = mileage
  5. modelX=Vehicle(240,18)
  6. print(modelX.max_speed, modelX.mileage)
  7.  
Advertisement
RAW Paste Data Copied
Advertisement