practice questions for if else in python