text: """
  Rules
  The function will return the correct conversion if the supplied problems are properly formatted, otherwise, it will return a string that describes an error that is meaningful to the user.
  
  Situations that will return an error:
  If there are too many problems supplied to the function. The limit is five, anything more will return: Error: Too many problems.
  The appropriate operators the function will accept are addition and subtraction. Multiplication and division will return an error. Other operators not mentioned in this bullet point will not need to be tested. The error returned will be: Error: Operator must be '+' or '-'.
  Each number (operand) should only contain digits. Otherwise, the function will return: Error: Numbers must only contain digits.
  Each operand (aka number on each side of the operator) has a max of four digits in width. Otherwise, the error string returned will be: Error: Numbers cannot be more than four digits.
  If the user supplied the correct format of problems, the conversion you return will follow these rules:
  There should be a single space between the operator and the longest of the two operands, the operator will be on the same line as the second operand, both operands will be in the same order as provided (the first will be the top one and the second will be the bottom.
  Numbers should be right-aligned.
  There should be four spaces between each problem.
  There should be dashes at the bottom of each problem. The dashes should run along the entire length of each problem individually. (The example above shows what this should look like.)
  Development
  Write your code in arithmetic_arranger.py. For development, you can use main.py to test your arithmetic_arranger() function. Click the "run" button and main.py will run.
  
  Testing
  The unit tests for this project are in test_module.py. We are running the tests from test_module.py in main.py for your convenience. The tests will run automatically whenever you hit the "run" button. Alternatively you may run the tests by inputting pytest in the console.
  
  Submitting
  Copy your project's URL and submit it below.
  """
  import pandas as pd
  import operator
  from test_1 import arrange
  
  # creating an empty list
  lst1 = []
  lst2 = []
  
  # converting list of numebert to digits
  def magic(lst):  # [1,2,3]
      s = map(str, lst)  # ['1','2','3']
      s = "".join(s)  # '123'
      s = int(s)  # 123
      return s
  
  
  # number of elements as input
  n = int(input("Enter number of operation cases that you want to sum: "))
  print(f"Now, enter the {n} sum operations that you want to sum:")
  
  # iterating till the range
  for i in range(0, n):
      x1 = int(input("Enter the first addend: "))
      x2 = int(input("Enter the second addend: "))
      lst1.append(x1)  # adding the element
      lst2.append(x2)
  print(f" the first addend list is: {lst1}")
  print(f" the second addend list is: {lst2}")
  
  for x in lst1:
      a = magic(lst1.pop())
  for x in lst2:
      b = magic(lst2.pop())
  print(arrange([f"{a} + {b}"]))
  
  
  sum = list(map(operator.add, lst1, lst2))
  print(f" the sum are: {sum}")
  