Thanks Brian! Yes! The code below differs from the last example in that I add a variable Entry to the…