I want to filter the x result to know which category would be appended to
def bot():
kids = []
adults = []
index = 0
x = input("enter movie name ")
for side in x:
if x == "gun" or x == "kill":
kids.append(x)
else:
adults.append(x)
print(kids)
print(adults)
what if x == "top gun" it will ignore it
I need to make it if x has "kill or gun, etc" don't add it to category less than 16 years old recommends