Answer:
Refer to the code below
Step-by-step explanation:
# Input character and words
char = input()
words = input()
# Splitting the words as an array
words = words.split()
# Traverse over the array to see if the character is present in a word
for word in words:
if char in word:
print(word)