summaryrefslogtreecommitdiff
path: root/progs/a174.py
blob: 4a8a265f194ca91873afca8f106fdce043aa5fd0 (plain)
1
2
def odd_position(nums):
	return all(nums[i]%2==i%2 for i in range(len(nums)))