Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def vlak(auto):
- for n in range(1,len(auto)):
- if (auto[n-1]<auto[n]):
- continue
- else:
- return False
- return True
- auto=[4, 12, 11, 5, 16, 28, 31]
- print vlak(auto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement