Hey there! Just doing the exercise for the video, but I have a very broad overview understanding of code to a limited degree, so I can take a crack at explaining the main() function for the course exercise.
The main() function contains the primary code referenced within whatever program we’re building. Anything you want a program to be able to do must first be established in the main() command before referencing it later in the code.
It might be my terminology and understanding is slightly off, but, well, I’m here to learn.