highlanderkev
5/13/2013 - 3:30 AM

String/phrase Parser in python

String/phrase Parser in python

phrase=input("Enter a phrase: ")
letter=input("Enter a letter: ")
length=len(phrase)

for index in range(0, length):
    if phrase [index]== letter:
        break
else:
    print("Your letter wasn't found")