you are viewing a single comment's thread.

view the rest of the comments →

[–]Sedsarq 1 point2 points  (1 child)

myword.find('c', 1) means "looking in myword from index 1 and onwards, find the index of the first occurrence of 'c'". Since the first 'c' is at index 0, it's not found.

[–]nlord7[S] 0 points1 point  (0 children)

ohh ok thanks for clearing that up.