Or just use something that offers both from the start.
One day, Python will finally catch up with 1990's Smalltalk, SELF, Lisp, Dylan and Scheme.
One day, Python will finally catch up with 1990's Smalltalk, SELF, Lisp, Dylan and Scheme.
Since you mention Go, placing dynamic and static on the same basket.
Common Lisp, Scheme, Raket, Clojure, Scala, Kotlin, F#, OCaml, Pharo, JavaScript/Typescript.
There are other candidates, only listing the ones with good out of the box REPL experience, JIT/AOT toolchains in the reference implementation, and not going crazy with their type systems for strong typing.