Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s1=input()
- s2=input()
- position=int(input())
- def result(x,y):
- if y in x:
- index=int(x.find(y))
- print(index-position)
- else:
- print("NotAvailable")
- result(s1,s2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement