while with print