I need to know how to get the output in the example below, what code should I write to get the output!!!
Question: Write a Python code that initializes a list of N even numbers and then processes it so that you output the closest multiple of 7 to that even number.
TEST CASE - 1:
INPUT:
even_numbers_list = [2, 12, 22, 30, 32, 44, 68]
OUTPUT:
Number: 2 is closest to 7, which is a multiple of 7
Number: 12 is closest to 14, which is a multiple of 7
Number: 22 is closest to 21, which is a multiple of 7
Number: 30 is closest to 28, which is a multiple of 7
Number: 32 is closest to 35, which is a multiple of 7
Number: 44 is closest to 42, which is a multiple of 7
Number: 68 is closest to 70, which is a multiple of 7