Closed MalikMAlna closed 1 year ago
Containing the main loop in a main method makes the code more modular and functional in the long term. Also, it's better to practice keeping that logic in a main function if anyone ever wants to turn this code into a module.
Containing the main loop in a main method makes the code more modular and functional in the long term. Also, it's better to practice keeping that logic in a main function if anyone ever wants to turn this code into a module.