Question 1
Write a function is_tens_digit_greater(num) that takes a positive two-digit integer and returns True if its tens digit is strictly greater than its ones digit, and False otherwise.
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_tens_digit_greater(54) -> True
is_tens_digit_greater(33) -> False
Your task
Implement this function:
def is_tens_digit_greater(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
54
Output
True