samedi 21 novembre 2020

Python If-Else Structure

My program should permit a user to enter all the information in the procedure and then should display the score. We have rule: Add 10 points for each if users have: instagram account, tablet and phone.

If the customer has been at the same account for less than three years, add no points; if they have been at the same account for three years but less than five years, add 5 points, and if they have been at the same account for five or more years, add 10 points.

I couldnt figure out the if statement type for this task. How can it be possible?

Aucun commentaire:

Enregistrer un commentaire