Q.write a program to addition of two number using python .
Take a user define two user define value
Ans
num1=input("Enter the First number")
num2=input("Enter the second number")
num3=num1+num2
print("The addition of two number is =",num3)
output:-
Enter the First number=10
Enter the Second number=20
The addition of two number is=30
addition of two number using python inbuild value
Take a user define two user define value
Ans
num1=input("Enter the First number")
num2=input("Enter the second number")
num3=num1+num2
print("The addition of two number is =",num3)
output:-
Enter the First number=10
Enter the Second number=20
The addition of two number is=30
addition of two number using python inbuild value
0 comments:
Post a Comment