Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 25th, 2013  |  syntax: None  |  size: 0.22 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. def win_check(inter):
  2.     a=False
  3.     count=0
  4.     for x in inter:
  5.         if x=='_':
  6.             a=False
  7.             break
  8.         else:
  9.             count+=1
  10.     if count == len(inter):
  11.         a = True
  12.     return a
clone this paste RAW Paste Data