179k views
0 votes
Edhesive 4.2 question 2 answers

1 Answer

3 votes

Answer:

total=0

pet=input("what pet do you have? ")

while pet!= "rock":

total=total+1

print("you have a "+pet+" with a total of "+ str(total)+ " pet(s)")

pet=input("What pet do you have? ")

Explanation: Just copy and paste above again just copy and paste this will get you a 100 percent i made another account just to give yall edhesive answers if yall need help with any edhesive just comment below

User Adam Schroeder
by
4.9k points