daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Car:
  2.     def __init__(self, ID, name, tire, engine):
  3.         self.ID = ID
  4.         self.name = name
  5.         self.tire = tire
  6.         self.engine = engine
  7.  
  8.     def __str__(self):
  9.         return "ID: {0} Name:{1} Tire: {2} Engine: {3}".format(self.ID, self.name, self.tire, self.engine)
RAW Paste Data
Top