Question: 
Write a function to check if the given number is woodball or not.


Model's Code:
def is_woodall(n):
    if n < 0:
        return False
    k = 1
    while k * (k + 1) // 2 <= n:
        if n == k * (k + 1) // 2:
            return True
        k += 1
    return False



Sample Correct Code:
def is_woodall(x): 
	if (x % 2 == 0): 
		return False
	if (x == 1): 
		return True
	x = x + 1 
	p = 0
	while (x % 2 == 0): 
		x = x/2
		p = p + 1
		if (p == x): 
			return True
	return False


Asserts:
assert is_woodall(383) == True
assert is_woodall(254) == False
assert is_woodall(200) == False


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 20 of 974: 14/20 (70.0%): failed