Code:
def main():
BillAmount = raw_input('Enter the bill amount: ')
TipAmount = CalcTip(check, total)
print 'The tip on $&.2f is $%.2f.' % (BillAmount, TipAmount)
def CalcTip():
return 0
#Call main
main()
def main():
BillAmount = raw_input('Enter the bill amount: ')
TipAmount = CalcTip(check, total)
print 'The tip on $&.2f is $%.2f.' % (BillAmount, TipAmount)
def CalcTip():
return 0
#Call main
main()
Comment