+ 2

Python for Beginners, Code Project 45 Question.

Hello everyone! I’m trying to solve the code project 45 in Python for beginners, and here’s what I have so far: def search(t, w): if w in t: print("Word found") else: print("Word not found") text = input() word = input() print(search(text, word)) Can someone help me understand what I’m doing wrong?

10th Dec 2021, 12:38 AM
Danyon
Danyon - avatar
1 Respuesta
+ 3
Never mind! I got it. Thanks!
10th Dec 2021, 12:50 AM
Danyon
Danyon - avatar