Question: in Python, how could I award a user 100 pts for entering, for example, 'y' in bg.lower()): ? another additional 100 pts if they entered

in Python, how could I award a user 100 pts for entering, for example, 'y' in bg.lower()): ?

another additional 100 pts if they entered 'y' in bsg.lower()): etc........... I'm having difficulty how make a yes string mean 100 in int

bg=str(input('Did you reach your max bench press goal today?: yes/no')) bsg=str(input('Did you reach your max back squat goal today?: yes/no')) mpg=str(input('Did you reach your max military press goal today?: yes/no')) dlg=str(input('Did you reach your max dead lift goal today?: yes/no'))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!