Answer:
n=1
while True:
i=input("What pet do you have? ")
if i=="rock":
break
else:
print("You have a " + i + " with a total of " + str(n) + " pet(s)")
n=n+1
3.4m questions
4.3m answers