from bottle import request, get
@get('/age')
def age_de():
name = request.query.name
age = request.query.age
if int(age) > 1:
return name + " a " + age + " ans."
elif int(age) <= 0:
return "Mouai..."
else:
return name + " a " + age + " an."