If you want to build a web page or app, you need to use nodejs. If you’re just learning to code, you may be able to find a library for that.
node has a lot of built-in features that python doesn’t have. For example, node’s standard module system is extremely powerful, and can be used to build a lot of very powerful applications. However, to be a very powerful application you need a lot of features that node doesn’t have. For example, node’s standard module system doesn’t support modules that are more than two levels deep, or that require modules to be loaded into the browser.
node is a great way to build very powerful applications, but for building the applications that people actually want to use, python is the better option. I would say that node is a better option for building the applications most people care about, and python is a better option for building the applications people don’t care about.