Computer Science, asked by nonikamra1243, 5 months ago

Write the code for the following programs using Script Mode

1. Write a program to input two numbers from the user and print addition, subtraction,

multiplication, division, find remainder when one is divided by other. Perform integer

division​

Answers

Answered by rakhichakrabortychak
0

Answer:

this ans you will get in brainliest

Answered by valeriy69
1

num_1 = int(input("Enter num 1: "))

num_2 = int(input("Enter num 2: "))

info = {

"addition": num_1 + num_2,

"subtraction": num_1 - num_2,

"multiplication": num_1 * num_2,

"division": num_1 / num_2,

"remainder": num_1 % num_2

}

[print(f"{k}: {v}") for k, v in info.items()]

# above solution is in python 3

\footnotesize\underline\mathsf\color{yellow}{Choose\: brainliest\: if\: it\: helped.}

Similar questions