Dividing Numbers in Python

math.remaindermath.fmoddivmodmath.modf
Задание 1

Two numbers are given:

pythonnum1 = 10
num2 = 45

Find the integer remainder from their division.

Задание 2

Two numbers are given:

pythonnum1 = 12.4
num2 = 30

Find the remainder when dividing the second number by the first. The result should be a floating-point number.

Задание 3

Two numbers are given:

pythonnum1 = 5
num2 = 3

Obtain a tuple of the division result and the remainder of the division.

Задание 4

Given a number:

pythonnum = 2.34

Find a tuple of its fractional and integer parts.

Задание 5

Given a number:

pythonnum = 4.8

Get a list from its fractional and integer parts.