Down there the last line,
main() has to have 2 arguments, change it to something like
edit: As pointed out in the comments, you should just delete it in the function, so that it looks like this
def main(): flavors= " " scoops = " " holdings = " " flavors = input("Enter a flavor of ice cream: ") print() if flavors not in ['Vanilla', 'Chocolate', 'Strawberry', 'Mint', 'Pistachio', 'Spumoni']: raise FlavorError(flavors, "is not on the menu.") scoops = int(input("Enter the number of scoops: ")) print() if scoops > 3: raise ScoopsError(scoops, 'We do not offer that many scoops!') holdings = input("Would you like a cone or bowl? ") print() print(scoops , "scoops of" , flavors , "in a" , holdings)
CLICK HERE to find out more related problems solutions.