Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def super_sum(dem):
- total=0
- for i in dem:
- i.index("s")
- total += i.index("s")
- print(total)
- super_sum(["sex", "comes", "pepsi", "whatsapp"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement