# suka blyat while True: titlos = input("Enter title of art [STOP to end]: ") price = -1 if titlos == "STOP": break while price < 0: price = int(input("Enter price: ")) type = input("Enter type [P for painting or G for glypto: ")