Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you please answer the question using python? Please answer it correctly please with comments. PROBLEM 1 List data type, membership operators, and selection statements

Can you please answer the question using python? Please answer it correctly please with comments.
image text in transcribed
PROBLEM 1 List data type, membership operators, and selection statements (2.5 points) Survivor is an American US television competition series where players stranded in a remote location must outwit, outplay, and outlast other players to win the title of "Sole Survivor" and is awarded a grand prize of $1,000,000.00 USD. At the beginning of the game, eighteen players are sorted into one of three tribes. For Survivor 43 , the eighteen olavers were sorted into the following three tribes: Write a script that will ask the user to input a player's first name and will print which tribe the player is in. If the user does not match the player's name as listed in the above table, your code should print an error message. You can type out your own variables, or use an import them in from survivor 43 _cast.py. Note that Python will require both scripts to be in the same destination folder. Below are some sample programming runnings of the program. Underlines indicate user input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions