using pycharm to learn functions in python