Computer Science, asked by tharneshtharun2003, 2 days ago

Write a Python Program to add two numbers using non-fruitful function.​

Answers

Answered by saffrontdionysius
0

Answer:

num1=int(input("Enter 1st num")

num2=int(input("Enter 1st num")

def addNum(n1,n2):

sum=n1+n2

print(sum)

Explanation:

A fruitful function basically a function that returns some value .so,a non fruitful function doesn't returns a value

Similar questions