1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sleet_krkn [62]
2 years ago
9

Input two numbers and print their sum products difference division and remainder​

Computers and Technology
1 answer:
likoan [24]2 years ago
7 0

\tt n1=int(input("Enter\: first\:no:"))

\tt n2=int(input("Enter\: second\:no:"))

\tt sum=n1+n2

\tt diff=n1-n2

\tt pdt=n1*n2

\tt div=n1//n2

\tt rem=n1\%n2

\tt print("Sum=",sum)

\tt print("Difference=",diff)

\tt print("Product=",pdt)

\tt print ("Division=",div)

\tt print("Remainder=",rem)

Output:-

Enter first no:4

Enter second no:3

Sum=7

Difference=1

Product=12

Division=1

Remainder=1

You might be interested in
A single digit of 1 or 0 in the binary code is called a _____________.
maksim [4K]
A single digit of 1 or 0 in the binary code is called a bit. It is the smallest possible unit of data for a computer. The only possible values for a bit is either zero or one. These values decide which paths the current can flow and which paths are blocked. Bits can represent two states namely, true and false or low and high.
5 0
3 years ago
Develop a simple food receipt (Python coding)
wlad13 [49]
I am progressing on learning Python, gonna get back to you and complete what you ask as a practice.
7 0
3 years ago
What is the georgia connections academy administrative password? i want to install something.
amid [387]

Answer:

ICL has world-class customized accredited curriculum of over 75 subjects & 1 on 1 support. ICL students compete at the highest level, perform on Broadway & excel in entrepreneurship. Customize Curriculum. Cambridge Style Seminars.

7 0
2 years ago
If you are connected to a network that uses DHCP, and you need to terminate your Windows workstation's DHCP lease, which command
FromTheMoon [43]

Answer:

IP config/release

Explanation:

6 0
2 years ago
Choose the correct function to yield the shown results?
atroni [7]

Answer:

I believe that the answer is float

4 0
2 years ago
Other questions:
  • Choosing firm goals for your business
    7·2 answers
  • Does anyone know the code for codeHS 5.4.7 teenagers?
    8·1 answer
  • Write a (one) program for your microcontroller so that it:
    14·1 answer
  • Which domain refers to the equipment and data an organization uses to support its IT infrastructure. It includes hardware, opera
    15·1 answer
  • Write a program for TIC TAC TOE in PYTHON
    8·1 answer
  • AJ created a list, and he needs all of the numbers to be in order. Which Python function will allow him to organize his list num
    5·2 answers
  • Good information is characterized by certain properties. Explain how you understand these characteristtics of good information.
    14·1 answer
  • What goes in between the < > when declaring a new ArrayList?
    14·1 answer
  • Decomposition is
    5·1 answer
  • The action of entering data into your computer. This can be text typed in a word processing document, keywords entered in a sear
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!