Navigation Menu

Skip to content

Commit

Permalink
Started break.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
marios-zindilis committed Oct 4, 2011
1 parent 3307435 commit 8be8f53
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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 'Τέλος.'

0 comments on commit 8be8f53

Please sign in to comment.