Azure is great for both. There are many ways you can use Azure to host Python apps, from virtual machines to Docker containers. We have a Python developer center for Azure you can check out here: https://aka.ms/pythondev
We have support for a variety of programming languages. Go, Java, Python, JavaScript, and a few others. We try out best to make sure there's parity between our service SDKs between different languages.