input: Write a function that takes a list of numbers as input and prints all the elements greater than 50.
  def print_greater_than_50(nums):
      for num in nums:
          if num > 50:
              print(num)
  assert print_greater_than_50([2, 60, 5, 4, 78, 32, 99])
  assert print_greater_than_50([59, 51, 23, 105])
output: def print_greater_than_50(nums):
      for num in nums:
          if num > 50:
              print(num)