Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions

Question

8. Describe how cultural spaces are formed.

Answered: 1 week ago