I want to know the answer to the following question:
How do some locomotives function in order to be more flexible in operation?
All the background I'm provided with is that "Different systems are used for urban and intercity areas; some electric locomotives can switch to different supply voltages to allow flexibility in operation.". Is that enough to answer the question?