summaryrefslogtreecommitdiff
path: root/progs/a189.py
blob: 80ca625fc4edfaba8b18cac28567b74eb125e9ae (plain)
1
2
def even_position(nums):
	return all(nums[i]%2==i%2 for i in range(len(nums)))