Both cities are reachable by train, but neither is really a comfortable day trip — Varanasi is roughly 300 km away and Agra around 350 km. Each is better treated as an overnight extension rather than a day excursion from Lucknow.
A verified photograph is not yet available for this topic.
