diff --git a/break.py b/break.py new file mode 100644 index 0000000..1ca93c0 --- /dev/null +++ b/break.py @@ -0,0 +1,10 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Filename: break.py + +while True: + s = raw_input('Εισάγετε κάτι: ') + if s == 'quit': + break + print 'Το μήκος της συμβολοσειράς είναι:', len(s) +print 'Τέλος.'