Jan-05-2019, 02:45 PM
Oh wait. I didn't remove the brackets in the logic statements:
def main(): c = detected_objects_2() for value in c: if value == "turnLeft": print("Turn Left is working!!!") elif value == "turnRight": print("Turn Right is working!!!") else: print("NO DETECTION at all!!!") main()