Respuesta :

Answer:

Please see the full code in explanation

Explanation:

#This is a console program

def bill_calculator():

print("Enter the Total value of the bill:\n")

bill_total = float(input())

print("Enter total number of dinners:\n")

total_dinner = int(input())

bill_per_person = bill_total / total_dinner

result = ("Bill total: {} \n"

"Total dinners: {} \n"

"Bill per person: {} ").format(bill_total,total_dinner, bill_per_person)

print(result)

if __name__ == '__main__':

bill_calculator()

ACCESS MORE
EDU ACCESS
Universidad de Mexico