Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. indexes = []
  2. #Or indexes[0], but this threw another error
  3. indexes.append(decoded.find(special_string))
  4.  
  5. x=1
  6. while indexes[x-1] > 0:
  7. total = sum(indexes)
  8. indexes[x] = decoded.find(special_string, total)
  9. x+=1
  10.  
  11. print(indexes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement