Write a program to find land in a string. The input value is a string; the output must be an integer, the index where land starts. For example, for England, your output is 3.
find() under the hood
Complete the table
Report a typo
Sample Input 1:
IrelandSample Output 1:
3Write a program in Python 3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.