the outcome is a boolean result where the code is checking if thr game is finished
Complete the check_am_finished coins list) function. The function takes the coins list as a parameter and returns True if the game is finished and False otherwise. The game is finished when the 4 "$" symbols are in the first a positions of the coins list. For example: Test Result print(check_come_finished $'])) False print(check_a_finished('s', 'S'. '])) True Answer: (penalty regime: 0 %) Reset answer 1. def check_game_finished (coins_list):
the outcome is a boolean result where the code is checking if thr game is finished
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
the outcome is a boolean result where the code is checking if thr game is finished
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!