You are viewing a single comment's thread. Return to all comments →
i was busy making if statements for 2 hours since it says n needs to be between -100 and 100, the code given doesnt have this feature, then I copy and pasted second one and banged my head on the table
Me too. The exercise definitely is misleading at that point. I tried all three methods but unfortunately I tried inside the if statement which led to an error.