Question: Please help to solve by using python Q5. Ask user to enter age, gender ( M or F ), marital status ( Y or N

Please help to solve by using python

Q5. Ask user to enter age, gender ( M or F ), marital status ( Y or N ) and then using following rules print their place of service. If employee is female, then she will work only in urban areas. If employee is a male and age is in between 20 to 40(not including 40) then he may work in anywhere If employee is male and age is in between 40 t0 60, including both 40 and 60, then he will work in urban areas only. And any other input of age should print "ERROR".

[ ] #your code goes here

enter your age35 enter

your gender M or FM

enter your marital status Y or NY anywhere

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!