Write an algorithm to check even and odd number in python July 8, 2019 16 32 64 128 Valid number leetcode python