old_contents: # Given a string and a non-negative int n, return a larger string that is n
  # copies of the original string.
  
  # string_times('Hi', 2) → 'HiHi'
  # string_times('Hi', 3) → 'HiHiHi'
  # string_times('Hi', 1) → 'Hi'
  
  def string_times(str, n):
    return str*n
  
  print(string_times('Hi', 2))
  print(string_times('Hi', 3))
  print(string_times('Hi', 1))
  
new_contents: # Given a string and a non-negative int n, return a larger string that is n
  # copies of the original string.
  
  # string_times('Hi', 2) --> 'HiHi'
  # string_times('Hi', 3) --> 'HiHiHi'
  # string_times('Hi', 1) --> 'Hi'
  
  def string_times(str, n):
    return str*n
  
  print(string_times('Hi', 2))
  print(string_times('Hi', 3))
  print(string_times('Hi', 1))
  
subject: Update string_times.py