Question: 1 . 2 . Problem 1 : Wedding ceremony seating Write a function called wedding _ seating that returns a string telling you where to

1.2. Problem 1: Wedding ceremony seating
Write a function called wedding_seating that returns a string telling you where to sit (possible values are front-row, left, or right) depending on these parameters:
relationship a string telling whether you are friend or family
close_to a string telling whether you are closest to the bride, groom, or both
Here is the mapping of cases to decisions that you want to follow:
family -> front-row (no matter if close to bride, groom, or both)
friend of bride -> right
friend of groom -> left
friend of both bride and groom -> front-row
Selection deleted

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 Programming Questions!