I've made my living by teaching beginners to code. I have been doing it for the better part of two decades, and I specialize in teaching students that have little aptitude for it.
I make my students code FizzBuzz. It is literally the 106th project I make them do. That is, they have completed 105 complete computer programs before getting to FizzBuzz.
And many of them still struggle with it. The nuance of else/if needing to be ordered in a certain way is something they still don't have a good grip on.
Programming a computer is very very hard for most people.