I am making a game for class and i need help with my while loop. I want the program to run a different loop when the value is 0. I have the code written how I think it should work but the first while loop reaches 1 it jumps down into the second while loop right away. for example: you have 3 rocket attacks so on the first turn you use 1 rocket attack so now you have 2 left. On your second turn you use your rockets again so now you have 1 left. On the next turn you use the rockets again so now you have 0 left but instead of ending your turn it runs the next while loop which asks you to input a different value.