程序代写代做 flex HuberEats is launching a network of autonomous pizza delivery drones and wants you to create a flexible rewards system (HuberPoints) that can be tweaked in the future. The rules are simple: if a customer has made at least N orders of at least Y price, they get a free pizza.

HuberEats is launching a network of autonomous pizza delivery drones and wants you to create a flexible rewards system (HuberPoints) that can be tweaked in the future. The rules are simple: if a customer has made at least N orders of at least Y price, they get a free pizza.
• Create a Python function that takes a dictionary of customers, a minimum number of orders and a minimum order price.
• Return a list of customers that are eligible for a free pizza.
• Sort the returned array of customer names in alphabetical order.

Examples:
customers = {” Ginny”: [22, 30, 11, 17, 15, 52, 27, 12], “Ron”: [5, 17, 30, 33, 40, 22, 26, 10, 11, 45]}

huberpoints(customers, 5, 20) ➞ [“Ron”]
huberpoints(customers, 3, 10) ➞ [“Ginny”, “Ron”]
huberpoints(customers, 5, 100) ➞ []

Write a Python class named Coin that simulates a coin that can be flipped. Your class should include the following:
• The __init__ method
• The __init__ method initializes the side attribute with ‘Heads’.
• The flip method
• The flip method randomly sets ‘Heads’ or ‘Tails’ to the side attribute.
• The which_side method
• The which_side method returns the value of side.
• The main method
• Creates an instance of the Coin class
• Displays the side of the coin that is facing up at that moment
• Flips the coin
• Displays the side of the coin that is facing up after the coin flip