Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
How to validate a previuos input data?
Hi guys! I am trying to solve the last excersice from python for benigners course. But can do the input validation, before to search function declaration, really did not comprehend how can the code check if the input matches with the second part on the code. Somebody can explain me?
3 Réponses
+ 3
You need to give 2 inputs then define a function inside that split the first input that is the sentence one. Then check it out using if statement whether the word is in sentence or not.
I hope it is understood by you
+ 1
Thankyou Aysha 🙏☺️
+ 1
Most welcome Victor Gonzalez