daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class car:
  2.         color =""
  3.         name = ""
  4.  
  5.  
  6. carlist= []
  7.  
  8. for x in range(0, 10):
  9.         car1 =  car()
  10.         car1.color = "red"
  11.         car1.name = x * 3
  12.         carlist.append(car1)
  13.  
  14. for x in range(0, 10):
  15.         carx = carlist[x]
RAW Paste Data
Top