But I'd even take Scala at this point, and you could do worse than Clojure.
Python code isn't especially "ugly" as in line noise. It's ugly in the sense that it's a deluge of outdated and ineffective programming paradigms that maximize the difficulty of writing code.
I got fed up with up with Python and switched to F#. My main issue was the lack of static typing made testing and debugging a major timesink and headache.
It's early days but so far F# it ticks all my boxes and I'm finding it an extremely nice language to write in. It is just as terse as Python (due to type inference) but statically typed, and there is a great plugin Ionide for VSCode which makes for a really polished development environment.
Plan is to use Microsoft's CNTK for ML/DL stuff.
For anyone frustrated with Python's duck typing, I highly recommend you check out F#.
But I'd even take Scala at this point, and you could do worse than Clojure.
Python code isn't especially "ugly" as in line noise. It's ugly in the sense that it's a deluge of outdated and ineffective programming paradigms that maximize the difficulty of writing code.