Cyber Education Center interview question

The first question was about a for loop The second question was about a while loop and printing a variable.