available_seats = 8
while available_seats>=0:
booking= input("do you want seat in bus (yes/no): ")
if booking =="yes":
available_seats-=1
print(f"remaining seats in bus {available_seats}so hurry up!")
else:
print("no booking made")
if available_seats==0:
print("all seats are booked")
break
print("Thank you for visit")