I am currently learning how to use python through a Udemy course.
It was mentioned that putting the \'\'break\' function was necessary in a line of code to identify