Parking Lot
class ParkingLot ( object ): def __init__ ( self ): self .__two_wheeler = [] self .__four_wheeler = [] self .__two_wheeler_slots = 200 self .__four_wheeler_slots = 100 def park_two_wheeler ( self , obj ): if self .is_parking_lot_full(): return - 1 else : self .__two_wheeler.append(obj) self .__two_wheeler_slots -= 1 ...