Levitate

Report a typo

Find an input substring in the spell "Wingardium Leviosa" and print its starting index.

If there's no such substring, output -1.

Sample Input 1:

Leviosa

Sample Output 1:

11

Sample Input 2:

LeviOsa

Sample Output 2:

-1
Write a program in Python 3
spell = "Wingardium Leviosa"
___

Create a free account to access the full topic