In most colleges computer science classes. The first hour you can normally get a print out of text. An input that save the variable. Then prints the variable. Most of the class is just figuring out the ide, or getting the syntax right.
You won't get into if conditional and loops and mathematical processing until hour 3 or so.
Then you get into nesting. That is where students who didn't have any coding experience struggle for the first time.
1 hour is a joke. Back in my days where schools had 8 bit computers we were taught how to code in elementary. As coding was an important aspect in computer literacy. Then when Windows 95 came out the computer training got really stupid and just showed how to use Office.
I know the government wants to make coding the next blue collar job but it takes a lot of knowledge and practice to perfect the craft.