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..

20th Oct 2017, 2:13 PM
VIJAY MADDINENI
VIJAY MADDINENI - avatar
1 Answer
+ 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"))
20th Oct 2017, 2:32 PM
Nanda Balakrishnan