Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from project.city_building import CityBuilding
- from project.country_building import CountryBuilding
- from project.seller_agent import Seller
- building_1 = CountryBuilding("The House", 2)
- building_2 = CityBuilding("Touch the sky", 70)
- building_3 = CountryBuilding("Summer villa", 2)
- building_4 = CountryBuilding("Winter residence", 3)
- building_5 = CountryBuilding("Black Sea", 2)
- new_seller = Seller("Мамулю", 10000000)
- print(new_seller.add_building(building_1, 25000))
- print(new_seller.add_building(building_2, 125000))
- print(new_seller.add_building(building_3, 325000))
- print(new_seller.add_building(building_4, 425000))
- print(new_seller.add_building(building_5, 625000))
- print(new_seller.sell("The House", 40000))
- print(new_seller.sell("Panelkata", 40000))
- print(new_seller.sell("Black Sea", 1200000))
- print(new_seller.current_budget())
- print(new_seller.building_status())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement