Skip to content
C

Problem 3: Remainder and Floor Division Checker

Easypython

Problem Description

Write a Python program that takes two numbers and prints both the floor division result and the remainder (modulus) of dividing the first number by the second.

Input

Two whole numbers.

Output

The floor division result and the remainder, each on its own line.

Constraints

  • The second number will not be zero.

Example Input

text
17 5

Example Output

text
Floor Division: 3 Remainder: 2

Concepts Covered

Floor division (//), modulus (%), input handling.

Input (stdin)

Output

Run your code to see output here...