Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. def print_apartments(apartments, type_list):
  2. for i in apartments:
  3. print ("Apartment id: " + str(get_ap_id(i)) , end=" ")
  4. for j in type_list:
  5. if get_ap_amount_for_type(i,j) is not None:
  6. print(j + ": " + str(get_ap_amount_for_type(i,j)) +" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement