@@ -149,29 +149,27 @@ def openvideo():
149149 if activity_num < 6 :
150150 print ("You have completed: " + str ((int (activity_num / len (abs_count )* 100 ))) + "%" )
151151 print ("Please complete 2 Sets of " + str (abs_count [activity_num ]) + " Reps of " + str (abs [activity_num ]) + "\n " )
152- elif select == "quads" :
153- print ("You have completed: " + str ((int (activity_num / len (quads_count )* 100 ))) + "%" )
154- print ("Please complete 2 Sets of " + str (quads_count [activity_num ]) + " Reps of " + str (quads [activity_num ]) + "\n " )
155- elif select == "glutes" :
156- print ("You have completed: " + str ((int (activity_num / len (glutes_count )* 100 ))) + "%" )
157- print ("Please complete 2 Sets of " + str (glutes_count [activity_num ]) + " Reps of " + str (glutes [activity_num ]) + "\n " )
158- elif select == "triceps" :
159- print ("You have completed: " + str ((int (activity_num / len (triceps_count )* 100 ))) + "%" )
160- print ("Please complete 2 Sets of " + str (triceps_count [activity_num ]) + " Reps of " + str (triceps [activity_num ]) + "\n " )
161- elif select == "biceps" :
162- print ("You have completed: " + str ((int (activity_num / len (biceps_count )* 100 ))) + "%" )
163- print ("Please complete 2 Sets of " + str (biceps_count [activity_num ]) + " Reps of " + str (biceps [activity_num ]) + "\n " )
164- elif select == "back" :
165- print ("You have completed: " + str ((int (activity_num / len (back_count )* 100 ))) + "%" )
166- print ("Please complete 2 Sets of " + str (back_count [activity_num ]) + " Reps of " + str (back [activity_num ]) + "\n " )
167- elif select == "chest" :
168- print ("You have completed: " + str ((int (activity_num / len (chest_count )* 100 ))) + "%" )
169- print ("Please complete 2 Sets of " + str (chest_count [activity_num ]) + " Reps of " + str (chest [activity_num ]) + "\n " )
170- break
171- else :
172- print ("You have just completed the last activity!" )
173- print ("Run the `end` command to complete the workout. \n " )
174- run_activity = True
152+ else :
153+ print ("You have completed all the workouts for this set!" )
154+ print ("Run the `end` command to finish the workout. \n " )
155+ elif select == "quads" :
156+ print ("You have completed: " + str ((int (activity_num / len (quads_count )* 100 ))) + "%" )
157+ print ("Please complete 2 Sets of " + str (quads_count [activity_num ]) + " Reps of " + str (quads [activity_num ]) + "\n " )
158+ elif select == "glutes" :
159+ print ("You have completed: " + str ((int (activity_num / len (glutes_count )* 100 ))) + "%" )
160+ print ("Please complete 2 Sets of " + str (glutes_count [activity_num ]) + " Reps of " + str (glutes [activity_num ]) + "\n " )
161+ elif select == "triceps" :
162+ print ("You have completed: " + str ((int (activity_num / len (triceps_count )* 100 ))) + "%" )
163+ print ("Please complete 2 Sets of " + str (triceps_count [activity_num ]) + " Reps of " + str (triceps [activity_num ]) + "\n " )
164+ elif select == "biceps" :
165+ print ("You have completed: " + str ((int (activity_num / len (biceps_count )* 100 ))) + "%" )
166+ print ("Please complete 2 Sets of " + str (biceps_count [activity_num ]) + " Reps of " + str (biceps [activity_num ]) + "\n " )
167+ elif select == "back" :
168+ print ("You have completed: " + str ((int (activity_num / len (back_count )* 100 ))) + "%" )
169+ print ("Please complete 2 Sets of " + str (back_count [activity_num ]) + " Reps of " + str (back [activity_num ]) + "\n " )
170+ elif select == "chest" :
171+ print ("You have completed: " + str ((int (activity_num / len (chest_count )* 100 ))) + "%" )
172+ print ("Please complete 2 Sets of " + str (chest_count [activity_num ]) + " Reps of " + str (chest [activity_num ]) + "\n " )
175173 activity_num = activity_num + 1
176174 run_activity = True
177175 elif activity .lower () == "quit" :
0 commit comments