dimanche 4 novembre 2018

python assignment in print

I need to code in python in order to select or not select some employees for a pension program. I will be selecting on the basis of age, height and weight. So I dont want to select an employee whose age is 25

I can create a simple if statement and then print out qualified or disqualified, based on my data. The catch is that I need to print a line which states that the person was disqualified because of being too young or old, overweight or underweight, short or tall. How do I assign the criteria the employee has missed in my if statement?

Aucun commentaire:

Enregistrer un commentaire