Commit 5bc78231 by BellCodeEditor

save project

parent 7618ddc2
Showing with 16 additions and 0 deletions
class furniture():
def __init__(self,name,area):
self.name = name
self.area = area
class House():
def __init__(self,area):
self.area = area
self.furniture_list = []
self.free_area = self.area
def add_furniture(self,furniture):
if :furniture.area > self.free_area:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment