def rain_amount(mm):
    if mm < 40:
        return "You need to give your plant " + str(40 - mm) + "mm of water"
    return "Your plant has had more than enough water for today!"
def rain_amount(mm):
    if mm < 40:
        return "You need to give your plant " + str(40 - mm) + "mm of water"
    return "Your plant has had more than enough water for today!"