fix flake8
change prints to ease sources copy/paste