0

print and return

word = input() text = input() def search(word,text): if word in text: print("word found") else: print("word not found") search(word,text) my doubt is: what if i use return function instead of print.

15th Jun 2022, 12:39 PM
Jobson John
Jobson John - avatar
1 Antwort