input: Write a function to perform several simple math operations given two integers as inputs. The function should output the results of the following operations: addition, subtraction, multiplication, division, and modulo. The function should return a dictionary containing each operation as a key and the result as the value.
  def perform_operations(int1, int2):
      return {
          'addition': int1 + int2,
          'subtraction': int1 - int2,
          'multiplication': int1 * int2,
          'division': int1 / int2,
          'modulo': int1 % int2
      }
  
  assert perform_operations(10, 5) == {
      'addition': 15,
      'subtraction': 5,
      'multiplication': 50,
      'division': 2.0,
      'modulo': 0
  }
  
  assert perform_operations(20, 3) == {
      'addition': 23,
      'subtraction': 17,
      'multiplication': 60,
      'division': 6.666666666666667,
      'modulo': 2
  }
  
  assert perform_operations(7, 3) == {
      'addition': 10,
      'subtraction': 4,
      'multiplication': 21,
      'division': 2.3333333333333335,
      'modulo': 1
  }
  
  assert perform_operations(8, 0) == {
      'addition': 8,
      'subtraction': 8,
      'multiplication': 0,
      'division': float('inf'),
      'modulo': 8
  }
output: def perform_operations(int1, int2):
      return {
          'addition': int1 + int2,
          'subtraction': int1 - int2,
          'multiplication': int1 * int2,
          'division': int1 / int2 if int2 != 0 else float('inf'),
          'modulo': int1 % int2 if int2 != 0 else int1
      }