Python Exit While Loop With If Else Statement Javascript Examples