Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_apartments(apartments, type_list):
- for i in apartments:
- print ("Apartment id: " + str(get_ap_id(i)) , end=" ")
- for j in type_list:
- if get_ap_amount_for_type(i,j) is not None:
- print(j + ": " + str(get_ap_amount_for_type(i,j)) +" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement