I need help! URGENT!


#1


print("Please enter the discount for",destination[count])

TypeError: 'tuple' object is not callable

The codes says it all


destination=["Auckland", "Wellington", "Rotorua"]
pricelist=[" "]
percentagelist=[" "]
discountsaver=["Quick Saver", "Smart Saver", "Super Saver"]

def astric():
    print("*******************************************")


def prices():
    count=0
    while count!=3:
        print=("Please enter a price for",destination[count])
        price=input("Price")
        pricelist.append(price)
        print("Please enter the discount for",destination[count])
        discount=input("discount")
        percentagelist.append(discount)
        count=count+1

def email():
    count1=3
    count=0
    astric()
    print("******- Welcome to Waikato Air -******")
    print("******- These saver fares are for Tomorrow ONLY -******")
    astric()

    while count<count1:
        astric()
        print=(destination[count], destination[count], destination[count], destination[count])
        print("***************", destination[count],"is",pricelist[count],"$ Dollars off ***************")
        print("*************** This is a discount of", percentagelist[count], "a", discountsaver[count])
        print=(destination[count], destination[count], destination[count], destination[count])
        astric()


prices()
email()
astric()


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.