input: Write a function to perform several simple math operations. The function should accept two integers as inputs and output the results of the following operations: addition, subtraction, multiplication, division, and modulo. The results should be printed to the console. If the second integer is zero, the division operation should return 'undefined' instead of performing the division.
  assert perform_math_operations(10, 5)==None
  assert perform_math_operations(10, 0)==None
  assert perform_math_operations(0, 5)==None
output: def perform_math_operations(a, b):
      print(a + b)
      print(a - b)
      print(a * b)
      if b == 0:
          print('undefined')
      else:
          print(a / b)
      print(a % b)