0
Is it possible to use different arguments in a function call??
def fn(a,b) c=a+b print (c) x=input("enter x value") y=input("enter y value") fn(x,y). # if I do like this it is not showing proper output..
1 Réponse
+ 3
hi,
you can use different arguments but that is not an issue.
you must get the input as integer
x=int(input("enter x value"))
y=int(input("enter y value"))