Hello, I'm trying to create a program that generates an hourly wage per person and their total tip out for the day. I really need help, I just work too much and I'm trying to get this program going to make my life a little easier so please, somebody help me. I need it to do this
Name of bartenders
Total Tip
Total hourly
Hours workers per bartender
Display the total amount of money per bartender along with they're hourly wage
This is what I have so far:
Name of bartenders
Total Tip
Total hourly
Hours workers per bartender
Display the total amount of money per bartender along with they're hourly wage
This is what I have so far:
def main(): name = [] total_people = (int(input("Enter Total Number of Bartenders: "))) for x in range(total_people): print("Please enter the name of Bartender #",x+1) name_each = input("") name.append(name_each) print(name) total_amount = float(input("Enter total amount of tips:")) total_hours = float(input("Enter the total hours:")) hourly_wage = total_amount / total_hours print("Your hourly wage is: ",hourly_wage) for y in range(name): print(y) main()Its 3am and I gotta work another double today. If somebody could help me please, I will appreciate it a lot
buran write Apr-13-2021, 09:23 AM:
Thread moved to Homework
Thread moved to Homework
buran write Apr-13-2021, 09:22 AM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.