Computer Science, asked by dakshgirdhar11, 18 days ago

you will be reported if you type anything​

Attachments:

Answers

Answered by Equestriadash
7

n1 = int(input("Enter number 1 = "))

n2 = int(input("Enter number 2 = "))

add = n1 + n2

sub = n1 - n2

mul = n1*n2

div = n1/n2

print("Two numbers are = ", n1, n2)

print("Addition = ", add)

print("Subtraction = ", sub)

print("Multiplication = ", mul)

print("Division = ", div)

  • The int() function is used to accept an integer as an input.
  • The input() function is used to obtain data from the user. By default, any data retrieved using input() will be in the form of a string.
  • The print() function is used to display the specified argument.

Equestriadash: Thanks for the Brainliest! ^_^"
Similar questions