Easy
Position in a Tuple
Read words into a tuple and a target word (always present). Print its first position using
index().Input
Two lines.
Output
One integer.
Sample 1
Input
a b c c
Output
2
Sample 2
Input
x y x x
Output
0
Output appears here