Functions
Wed 12 November 2025
print ("hi jerin")
hi jerin
text = 'i am learning'
text
'i am learning'
def add_num():
one = int(input("enter the nummber"))
two = int(input("enter another number"))
total = one + two
return (f"the total of the number is {total}")
add_num()
enter the nummber 3
enter another number 3
'the total of the number is 6'
Score: 5
Category: python-basics