Computer Science, asked by shrutiverma383, 11 months ago

Write a program in python

Answers

Answered by sravanapranavam
0

Answer:

a=2

b=3

sum=a+b

print(sum)

Answered by Anonymous
9

Explanation:

\LARGE{\sf{====Answer====}}

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]

\rule{200}{2}

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
Math, 5 months ago