Question: Python: Integers num _ people and room _ capacity are read from input. If num _ people is 1 1 0 or less, then assign

Python: Integers num_people and room_capacity are read from input. If num_people is 110 or less, then assign room_capacity with room_capacity minus 110.
Ex 1: If the input is:
110
325
then the output is:
215
Ex 2: If the input is:
111
325
then the output is:
325

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!