if while for def