Advertisement
Guest User

Untitled

a guest
May 6th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. def vlak(auto):
  2. for n in range(1,len(auto)):
  3. if (auto[n-1]<auto[n]):
  4. continue
  5. else:
  6. return False
  7. return True
  8.  
  9. auto=[4, 12, 11, 5, 16, 28, 31]
  10.  
  11. print vlak(auto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement