Advertisement
misingnoglic

Untitled

Nov 16th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. def array_front9(nums):
  2. if len(nums)==0: return False
  3. if len(nums)>3:
  4. for x in range(4):
  5. if nums[x] == 9:
  6. return True
  7. return False
  8. if len(nums)<4:
  9. for x in range(len(nums)):
  10. if nums[x]==9:
  11. return True
  12. return False
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement