# Challenge: Odd and Even

Let's tackle another practice task!

Завдання

You're provided with a number labeled `num`

. Using `if`

/`else`

, display the message:

`"The number num is odd"`

if`num`

is**odd**.`"The number num is even"`

if`num`

is**even**.

In the `print()`

functions, fill in the `___`

with the appropriate descriptor (`'odd'`

or `'even'`

).
*Tip: A number is considered even if, when divided by* `2`

, *the remainder* (using the `%`

operator) *is* `0`

.

NoteIn Python, the

`%`

operator is used as the modulo operator, which returns the remainder after dividing one number by another. For example,`5 % 2`

would return`1`

, since 2 goes into 5 twice with a remainder of 1.

Все було зрозуміло?

Зміст курсу

Introduction to Python

## Introduction to Python

3. Conditional Statements

# Challenge: Odd and Even

Let's tackle another practice task!

Завдання

You're provided with a number labeled `num`

. Using `if`

/`else`

, display the message:

`"The number num is odd"`

if`num`

is**odd**.`"The number num is even"`

if`num`

is**even**.

In the `print()`

functions, fill in the `___`

with the appropriate descriptor (`'odd'`

or `'even'`

).
*Tip: A number is considered even if, when divided by* `2`

, *the remainder* (using the `%`

operator) *is* `0`

.

NoteIn Python, the

`%`

operator is used as the modulo operator, which returns the remainder after dividing one number by another. For example,`5 % 2`

would return`1`

, since 2 goes into 5 twice with a remainder of 1.

Все було зрозуміло?