You're comparing a web structure language to coding languages? If you're asking what would be more useful to learn. I'd tell you C++, Python is great in all but I believe C++ has the greatest future. HTML is useless nowadays, sites like Wix remove the need for HTML and it's very easy to learn. The technology we make uses our lives easier and with that websites are necessary for most businesses, therefore, companies cash in on that fact by selling you tools that make your life
much easier. If you wanna make your own website HTML and CSS are cool to know (I know both of them) but really in the long run (from personal experience) you should pick something more useful.
EDIT: And also python cares about indenting and that type of shit. I don't have time to worry about that stuff. My HTML is as sloppy as I want it to be, as long as it functions and I can understand it idgaf.