while True: γραμμή = input('> ') if γραμμή == 'τέλος': break print(γραμμή) print('Τέλος!')