Question: please help me solve thisInteger k is read from input. Then, seven strings are read from input and stored in the list waiting _ room.

please help me solve thisInteger k is read from input. Then, seven strings are read from input and stored in the list waiting_room. Write multi-branch if-else
statements so that:
If k is 1, assign suffix with 'st'.
If k is 2, assign suffix with 'nd'.
If k is 3, assign suffix with 'rd'.
Otherwise, assign suffix with 'th'.
Lastly, output:
'The'
k and suffix
'client is '
the k-th element of waiting_room
a period
Click here for examples
Note: Assume the input will always be a valid index in the list.
input())
waiting_room = input().split()
''' Your code goes here '''
 please help me solve thisInteger k is read from input. Then,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!