String Position in List

A Python function to locate the numerical index of a specific string in a list.

Create a function `find_str_position(lst, target_str)` that determines the position of a specific string `target_str` within the given list `lst`. The function should return the index of that string in the list, considering the first element at index 1. ### Parameters - `lst` (List): A list of strings. - `target_str` (String): The string whose position is to be found in the list. ### Return Value - Returns the position of the `target_str` in the list if found. - Returns -1 if the `target_str` is not found in the list. ### Examples ```python find_str_position(['Fish','asks','Target','where'], 'Target') # Output: 3 find_str_position(['Target','is','learning','Python'], 'Target') # Output: 1 find_str_position(['Fish','invites','Someone','for','dinner'], 'Target') # Output: -1 ```