input: Write a python function to add, remove items from a shopping cart and calculate the total price.
  assert cart.add_item(Item('Apple', 1.0)) == None
  assert cart.add_item(Item('Banana', 0.5)) == None
  assert cart.get_total() == 1.5
  assert cart.remove_item(Item('Apple', 1.0)) == None
  assert cart.get_total() == 0.5
output: class Item:
      def __init__(self, name, price):
          self.name = name
          self.price = price
  
  class ShoppingCart:
      def __init__(self):
          self.items = []
  
      def add_item(self, item):
          self.items.append(item)
  
      def remove_item(self, item):
          for i in range(len(self.items)):
              if self.items[i].name == item.name and self.items[i].price == item.price:
                  del self.items[i]
                  break
  
      def get_total(self):
          return sum(item.price for item in self.items)
  
  cart = ShoppingCart()