Some requirements based on your story:
I think you might try Kotlin (or Java). Java has more documentation, but I think Kotlin is easier and less easy to make mistakes with.
But you won't really go wrong with something else like Python, Julia, Rust, C#, ...