python program questions using if else