A program should add 1 to 10, but its loop is for i in range(1, 10). It runs without an error and shows 45. What is the mistake?
Log in to join the discussion.
Loading…