#try to avoid input function
a = ["hello","world","welcome","RGUKT","aeiou","python"]
for i in a:
if i == "RGUKT":
print("word RGUKT is in the list.")
break
else:
print("word RGUKT is not the list.")
Click the run button. Try to avoid input() function.