SHARE
TWEET

Untitled

a guest Oct 16th, 2019 208 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)) +" ")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top