complete solutions well answered
Module 7 - Part 1 - ANS ✔✔
For the function display_instruct, what does it return? - ANS ✔✔the value of None
For the function display_instruct, what data type does it return? - ANS ✔✔NoneType
For the function ask_yes_no, what data type does it return? - ANS ✔✔str
For the function ask_number, what data type does it return? - ANS ✔✔int
For the function pieces, what data type does it return? - ANS ✔✔tuple of str
For the function new_board, what data type does it return? - ANS ✔✔list of str
For the function display_board, what does it return? - ANS ✔✔the value of None
For the function legal_moves, what data type does it return? - ANS ✔✔list of int
For the function winner, it will return None if no winner is found. But in other scenarios, what
data type does it return? - ANS ✔✔str
For the function human_move, what data type does it return? - ANS ✔✔int
, For the function computer_move, what data type does it return? - ANS ✔✔int
For the function next_turn, what data type does it return? - ANS ✔✔str
For the function congrat_winner, what does it return? - ANS ✔✔the value of None
For the function main, what does it return? - ANS ✔✔the value of None
Module 7 - Part 2 - ANS ✔✔
For the function display_instruct, what is the data type of the parameter? - ANS ✔✔There are
no parameters
For the function ask_yes_no, what is the data type of the parameter? - ANS ✔✔str
For the function ask_number, what is the data type of the parameter question? - ANS ✔✔str
For the function ask_number, what is the data type of the parameters low and high? - ANS
✔✔int
For the function pieces, what is the data type of the parameter? - ANS ✔✔There are no
parameters
For the function new_board, what is the data type of the parameter? - ANS ✔✔There are no
parameters