python if else exercises for beginners with answers