For Loop With Array Python Example Problems Trigonometric Functions