def robo_turn(self): self.show_robo_opponent_options() input("Select opponent to attack: <1> , <2> , <3>.") if input == 1: Robot.attack(dinosaur=d1) elif input == 2: Robot.attack(dinosaur=d2) elif input == 3: Robot.attack(dinosaur=d3) else: input("Please select <1> , <2> or <3>.")