TristanSld

break statement

Jan 7th, 2014
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. while True:
  4.     s=raw_input("Bir sayı girin: ")
  5.     if s=="iptal":
  6.         break
  7.     if len(s) <=3:
  8.         continue
  9.     print "En fazla üç haneli bir sayı girin."
RAW Paste Data