Java While Loop Through An Array Python Definition W3schools