refreshing python knowledge