while loop is explained with examples with the explanation how to decide which loop to be used when. The video also explains the while else concept.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.