Create a Python class called Home that has name, location and price parameters. Allow a user to instantiate this class and print the location and price.
name = "My Home"
location = "New York"
price = "$500,000"
class Home:
    def __init__(self, name, location, price):
        self.name = name
        self.location = location
        self.price = price
 
    def print_location_and_price(self):
        print("Location: " + self.location + ", Price: " + self.price)
 
home = Home("My Home", "New York", "$500,000")
home.print_location_and_price()