For loop screenshot

This is my take on the 5 calls to getguess function.