input: Write a function that generates a Python script to calculate the sum of any number of integer arguments provided. The function should return the sum.
  
  def generate_sum_script(*args):
      script = "def sum_ints(*args):\n    total = 0\n    for num in args:\n        total += num\n    return total\n\nprint(sum_ints(" + ", ".join(map(str, args)) + "))"
      return script
  
  assert generate_sum_script(3, 5, 7) == "def sum_ints(*args):\n    total = 0\n    for num in args:\n        total += num\n    return total\n\nprint(sum_ints(3, 5, 7))"
output: def generate_sum_script(*args):
      script = "def sum_ints(*args):\n    total = 0\n    for num in args:\n        total += num\n    return total\n\nprint(sum_ints(" + ", ".join(map(str, args)) + "))"
      return script