Assuming this is Python, the indentation is incorrect, and also your 2nd condition is using elseif, which is incorrect in Python and should be elif as used on the 3rd condition.
indian=["samosa","dal","roti"]
chinese=["eggrole","fried rice","chowmin"]
italian=["pizza","pasta","rissoto"]
dish= input("enter a dishname: ")
if dish in indian:
print("indian")
elif dish in italian:
print("italian")
elif dish in chinese:
print("chinese")
else:
print("no idea")