Java Round Down Function Python Example For Loop