Sep-28-2018, 11:07 PM
Hello Everyone,
I am new to this forum and this is my first post.
I like to ask. Let say the user enters an input..say
"I like to eat apples". I would like the sentence to break
down into each word then compare each word to a file.
e.g. the file itself contains
-----------------------------
to
orange
bake
banana
apple
-----------------------------
then i like the output to show
print('I do not understand orange, bake, and banana')
Thank You.
I am new to this forum and this is my first post.
I like to ask. Let say the user enters an input..say
"I like to eat apples". I would like the sentence to break
down into each word then compare each word to a file.
e.g. the file itself contains
-----------------------------
to
orange
bake
banana
apple
-----------------------------
then i like the output to show
print('I do not understand orange, bake, and banana')
Thank You.