Compare Values In Array Python Example Classical Theory