def fun1(num)
return num +25
fun1 (5)
print(num)
Answers
Answered by
5
Above code have error!
but according to my assumption after correction:-
Output :-
30
Answered by
0
def fun1(num):
return num + 25
num=fun1(5)
print(num)
Output:
30
Here, the above snippet is written in python programming language, In here there is a function defined having name fun1, which takes a number as an input and return an integer by adding the input number with 25, at last the returned integer is stored in a variable named num and it is finally printed as output.
Similar questions