def swap_string(arr):
  for i in range(len(arr)):
    if arr[i] < 0:
      arr[i] = "Dojo"
  return arr
list1 = [-1,-2,-3,-4,1,2,3,4]
print(swap_string(list1))
ede987ee7827a75f1542a542c7be14f7ceca9a5d
<mask token>

def swap_string(arr):
    for i in range(len(arr)):
        if arr[i] < 0:
            arr[i] = 'Dojo'
    return arr


<mask token>

def swap_string(arr):
    for i in range(len(arr)):
        if arr[i] < 0:
            arr[i] = 'Dojo'
    return arr


<mask token>
print(swap_string(list1))

def swap_string(arr):
    for i in range(len(arr)):
        if arr[i] < 0:
            arr[i] = 'Dojo'
    return arr


list1 = [-1, -2, -3, -4, 1, 2, 3, 4]
print(swap_string(list1))

def swap_string(arr):
  for i in range(len(arr)):
    if arr[i] < 0:
      arr[i] = "Dojo"
  return arr
list1 = [-1,-2,-3,-4,1,2,3,4]
print(swap_string(list1))