Write a program in python check the person age then show him the price of train ticket that fit his age in dollars:ΒΆ

children until 18 years ticket = 2

old people bigger than or equal 60 years ticket = 5

young people from 18 - 59 year ticket = 10

and don't forget to declare your age:


Head to the next Hyper link for free online Jupyter workspace:

Free Jupyter lab Online