diff options
Diffstat (limited to 'progs/a296.py')
-rw-r--r-- | progs/a296.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a296.py b/progs/a296.py new file mode 100644 index 0000000..b4da731 --- /dev/null +++ b/progs/a296.py @@ -0,0 +1,6 @@ +def is_Word_Present(sentence,word):
+ s = sentence.split(" ")
+ for i in s:
+ if (i == word):
+ return True
+ return False
\ No newline at end of file |