Please help I just hate myself, i cannot figure out nested loops and while loops. Python is the easiest language and I’m struggling so much. I wish…