Definition: Given a scientific passage and an answer, generate a question for the given answer.
Input: Passage: Generators and motors are almost identical in construction but convert energy in opposite directions. Generators convert mechanical energy to electrical energy and motors convert electrical energy to mechanical. Answer: electrical
Output:
Generators convert mechanical energy to which kind?