BestPromptFinderBelow is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Create a Python script that will perform several simple math operations. The script should accept two integers as inputs and output the results of the following operations: addition, subtraction, multiplication, division, and modulo. ### Input: int1 = 10 int2 = 5 ### Output: int1 = 10 int2 = 5 addition = int1 + int2 print('Addition:', addition) subtraction = int1 - int2 print('Subtraction:', subtraction) multiplication = int1 * int2 print('Multiplication:', multiplication) division = int1 / int2 print('Division:', division) modulo = int1 % int2 print('Modulo:', modulo)
Find similar in the app →