Nextiter Python W3schools Exercise