Question 1
Write a function is_even_two_digit_number(num) that returns True if num is a two-digit number (the sign is ignored, so -36 has two digits) and it is even. Otherwise it returns False.
NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition.
Example
is_even_two_digit_number(24) -> True
is_even_two_digit_number(-36) -> True
Your task
Implement this function:
def is_even_two_digit_number(num: int) -> bool:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: num.
Example
Input
24
Output
True