input: Write a function to print all elements in a given list that are greater than 50.
  def print_elements_greater_than_50(nums):
      for num in nums:
          if num > 50:
              print(num)
  assert print_elements_greater_than_50([2, 60, 5, 4, 78, 32, 99])==None
  assert print_elements_greater_than_50([51, 52, 53, 54])==None
  assert print_elements_greater_than_50([1, 2, 3, 4])==None
  assert print_elements_greater_than_50([51, 50, 49])==None
  assert print_elements_greater_than_50([])==None
output: def print_elements_greater_than_50(nums):
      for num in nums:
          if num > 50:
              print(num)