summaryrefslogtreecommitdiff
path: root/comp/work/13/task.py
blob: ca7cd5e32845342a9086187e16094a62761c3dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def get_name(name):
    return name.upper()


def get_age(current_age):
    return current_age + 1

def get_details(name,age):
    print(f"the persons name is {get_name(name)}, and next year they will be {get_age(age)}")

name = input("name: ")
age = int(input("current age: "))

get_details(name,age)