I am learning about the differences between for loops and while loops in python. If I have a while loop like this:
num = str(input("Please enter the number one: "))
while num != "1":
print("This is not the number one")
num = str(input("Please enter the number one: "))
Is it possible to write this as a for loop?