Write position(s, ch) that returns the index of the first ch in s, or -1 if it is not there.
position('data', 'a')
→ 1position('sql', 'z')
→ -1Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.