Write a program in python
Answers
Answered by
0
Answer:
a=2
b=3
sum=a+b
print(sum)
Answered by
9
Explanation:
➭ Programmes in Interactive Mode
1)
>>> print("Hello Word ! ")
Hello World .......(Output)
___________________
2)
>>> x = 15
>>> y = 15*5
>>>print (y)
y = 7......(Output we get)
[You can do These Programs for addition, subtractions, multiplication, Division]
➭ Programmes in Script Mode
1) For sum of 2 numbers
x = int(input("Enter First Number : "))
y = int(input("Enter Second Number : "))
Sum = x + y
print("The Sum is ",Sum)
________________
Output
x : 2
y : 5
The Sum is = 7
Note :
[You can use any number for getting output]
_________________________
Same Question Answered by me :-
https://brainly.in/question/8153418
Similar questions