Texts: Given a certain range of numbers [2, 100], return 4 number lists such that:
1. The first number list contains all the even numbers in the range of numbers.
2. The second number list contains all the prime numbers in the range of numbers.
3. The third number list contains all the perfect numbers in the range of numbers.
4. The fourth number list contains all the numbers that are multiples of 3.
For example, for the range [2, 10], we should return:
- The even number list: [2, 4, 6, 8, 10]
- The prime number list: [2, 3, 5, 7]
- The perfect number list: [6]
- The 3x number list: [3, 6, 9]
Tips: You need to define 4 different functions to generate the above 4 number lists. And organize the three functions into one final function. Therefore, in total, 5 functions.
def check_even(input_num): # write your code here
def check_prime(input_num): # write your code here
def check_perfect(input_num): # write your code here
def check_3x(input_num): # write your code here
def check_list(): # write your code here