Question: 1 . 1 Write a Python function that receives a search string and a list of names as parameters. The function must return all the
Write a Python function that receives a search string and a list of names as parameters. The function must return all the names in the list that contain the search string. The search string must be entered by the user, and ensure that the search is not case sensitive
Marks
Write a Python function that simulates a dice game. The game is played with two di If the sum of the di is either or the player wins. If the sum of the di is the player may roll again, otherwise they lose. Use a random number generator to simulate the dice rolls, and display the game result as shown below:
marks WINNER!
Dice :
Dice : YOU LOSE!
Dice :
Dice : ROLL AGAIN!
Dice :
Dice :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
