Solution Exercise 6 display major or minor according to age in python

Exercise 6

Write a Python algorithm that asks the user to enter their age and display the message "you are major!" if the typed age is greater than or equal to 18 and the message "you are a minor!" if the typed age is less than 18

Solution




 

Younes Derfoufi
CRMEF OUJDA

1 thought on “Solution Exercise 6 display major or minor according to age in python

Leave a Reply