+ 1
detction of set of alphabets then print assigned value
hello fellow coders, i want to make programme that can detect one or more than one word/s from the sentence or paragraph and if word/s is/are detected then i want to print specific value/s assigned to word/s i have googled so much but no good results so help me please ............. thank you guys in advance
6 odpowiedzi
+ 1
hi,
look my rb code below. i think that's help you.
https://code.sololearn.com/cd7RVwJndrpr/?ref=app
all words of the poem are listed and the result returns the 5 first word most used in this poem
+ 1
click to the link
+ 1
@WISE $
explain your post, I don't understood
0
if you use input for the text and the wanted words in "if... IN..", I guess it should work.
0
problem 1:-
i have used 'in'... but how can i use it in way so that it can detect more than one word.
problem 2:-
let me give you example.....
my two words :- viraj, name
my sentance :- "My name is viraj shah."
if name or/and viraj is detected then print A for name and print B for viraj
now the problem is that i want order of assigned value to be printed as same as sentance like 'name' is first so print A first then B.
0
hey man I didn't get a thing 😵