Programming challenge. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Programming challenge.

WAP to enter two sentences and print all common words in both the sentences. The same word should not be printed more than once. like String 1 : I am don the don is badman String 2 : The don is a good . output common words are The Don

4th Mar 2018, 7:34 PM
Atul Mishra
Atul Mishra - avatar
3 Respuestas
4th Mar 2018, 9:54 PM
Вадим Сухотин (Vadim Sukhotin)
Вадим Сухотин (Vadim Sukhotin) - avatar
+ 1
Add the removing of the non-alpha symbols. https://code.sololearn.com/cXpwTc8iAikT/?ref=app
5th Mar 2018, 7:17 AM
Вадим Сухотин (Vadim Sukhotin)
Вадим Сухотин (Vadim Sukhotin) - avatar
- 2
https://www.sololearn.com/discuss/1082512/?ref=app
4th Mar 2018, 7:39 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar