Rancho Labs Interview Question

Python programming questions on If else conditions and for loop