Basic code refactoring in PyCharm | Getting started