#2 def sum_even_numbers(limit): total_sum = 0 # Initialize the sum to 0 for number in range(2, limit + 1, 2): # Start at 2, go up to and including limit, step by 2 total_sum += number # Add the even number to the total_sum return total_sum # Return the final sum # Example usage print(sum_even_numbers(10)) # Output: 30 (2 + 4 + 6 + 8 + 10) #1 def count_down(n): while n > 0: print(n) n -= 1 # Example usage: count_down(5)