function is cascading the number

0 votes
asked Aug 30, 2019 by anonymous
def Su(q,b):
    return q+b
print("Enter 2 numbers: ")
a=input()
c=input()
x=Su(a,c)
print("Sum is "+x)

answer:

sum is 13 if a=1 & c=3

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...