Ptarget = int(input("What is your target amount of points to achieve?"))
while Ptarget != int:
print("You have not provided a valid input, please try again.")
Ptarget = int(input("What is your target amount of points to achieve?"))
How do I make it so the while loop functions, by asking the user for another input if the previous was not an integer, without breaking the program?