Advertisement
Demoore19

Untitled

Feb 22nd, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. def super_sum(dem):
  2. total=0
  3. for i in dem:
  4. i.index("s")
  5. total += i.index("s")
  6. print(total)
  7. super_sum(["sex", "comes", "pepsi", "whatsapp"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement