The Axis and Allied forces were both equally evil.
Our task was not to go all out in making friends with them, but to do just enough to shake the British empire. Even the Nazis were thinking on the same lines. They weren't thinking of the independence of Indian people. The situation back then...