It’s exactly the same situation with TI and Casio calculators (but with Basic instead of Python). For larger programs, it’s best to just download/write them on a computer and transfer them to the calculator.
Writing smaller programs (at least on a Casio calculator) isn’t actually that bad once you get used to the layout and menus.