Ethereum is written in Solidity. Solidity is a statically typed language that uses a syntax similar to that of JavaScript. At the same time, Python is a dynamically typed language with a syntax resembling that of the C programming language. Solidity has been created specifically for developing smart contracts on the Ethereum platform. At the same time, Python can be used for various purposes, including software development, data analysis, and scientific computing. So if you only want to work with Ethereum, learn Solidity. But if you’re going to work in various types of environments, it is a good idea to learn python.