tryAgain = True
right = True
while tryAgain:
print("I'm back")
while right:
again = input("\nDo you want to solve Spring Constant Formula again? [Y] / [N]: ")
if again == "Y":
print ("================================")
continue
elif again == "N":
print ("================================")
break
else:
continue #I want to get back to 'again' input
i am having a problem using the while loop inside while loop. i want to make the program going back to the 'again' input once the user did not choose between 'y' or 'n'