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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started