if else practice questions in python for beginners