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