Has there been an aircraft with multiple type of engines? Has there ever been an aircraft that can fly using at least two different type of engines? For example, a piston engine and a turbine engine, or a piston engine and a electric motor.

To clarify the question:


It is not necessary to operate both engines at the same time. However the pilot must have the ability to switch from one engine to another engine while in the air.
The engines must generate power using completely different mechanisms.
VTOL/STOL aircraft (e.g. V-22, F-35) does not quality because the aircraft is simply directing thrust from the same engine elsewhere.
The question is not asking about variants of an aircraft model where each variant is fitted with a different kind of engine. Both engines has to be fitted on the same airframe and operable at the same time.
The Convair B-36 Peacemaker had six Pratt and Whitney radial piston engine propellers and four GE turbojets. The turbojets were used during takeoff and shut down during flight.


 image source Wikimedia Commons