Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. import os
  2.  
  3. class Config:
  4. NO_PLAT_MOTOR = list(range(3000, 7000))
  5. NO_PLAT_MOBIL = list(range(1,3000))
  6. NO_PLAT_BIS = list(range(7000,8000))
  7. NO_PLAT_PENUMPANG = list(range(8000,9000))
  8. NO_PLAT_BEBAN = list(range(9000,10000))
  9. NO_PLAT_AWAL = 'B'
  10. NO_PLAT1 = ['U','B','P','S','T','Z','E','N','C','V','K','F','W']
  11. NO_PLAT2 = ['A','B','D','W','E','R','U','Z','F','K','O','I','Y','V','P','M','G','HX','IX','J','L','C','T','UA','TX','UX','QN']
  12. NO_PLAT3 = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
  13.  
  14.  
  15.  
  16.  
  17. def motor():
  18. d = Config.NO_PLAT_AWAL
  19. c = Config.NO_PLAT_MOTOR
  20. yield d, c
  21.  
  22.  
  23. for d,c in motor():
  24. print(' '.join(str(c) for c in d))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement