Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. # coding: utf-8
  2. # Here your code !
  3.  
  4. # coding: utf-8
  5. # Here your code !
  6.  
  7. def func():
  8. try:
  9. line = input()
  10. except:
  11. print("input error")
  12. return -1
  13.  
  14. (buildings,floors,rooms)=(4,3,10)
  15.  
  16. tenants=[]
  17. for i in range(buildings):
  18. tenants.append([])
  19. for j in range(floors):
  20. tenants[i].append([])
  21. for k in range(rooms):
  22. tenants[i][j].append(0)
  23.  
  24. print(tenants)
  25.  
  26. while(True):
  27. try:
  28. line=input().rstrip()
  29. in_out_info=line.split(" ")
  30.  
  31. except EOFError:
  32. break
  33. except:
  34. print("input error")
  35. return -1
  36.  
  37. func()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement