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
Get step-by-step solutions from verified subject matter experts
