title: How to stop a string from separating when adding it to a list?
body: <p>Whenever I put a string, it's supposed to take the capital letters' index and put it into a list, but when the string is 10 characters or longer and it has a capital letter after the ninth index, it separates the number when it gets added to the 'capitals' list. How do I make it so it doesn't separate?</p>
  <pre><code>string = input()
  
  capitals = []
  
  for current in range(0, len(string)):
      if string[current].isupper():
          capitals += str(current)
  
  print([int(x) for x in capitals])
  </code></pre>