Floor Is Represented in This Manner
Floor Is Represented in This Manner
def printInformation(location):
print("Location " + location + " is Dirty.")
print("Cost for CLEANING " + location + ": 1")
print("Location " + location + " has been Cleaned.")
# cleaning locations
totalCost = 0
# declaring dictionaries
goalState = {"A": 0, "B": 0, "C": 0}
currentState = {"A": -1, "B": -1, "C": -1}
# calling function
totalCost = vacuumCleaner(goalState, currentState, location)
print("Performance Measurement:", totalCost)