So range(5) returns (or possibly generates) a sequence: 0, 1, 2, 3, 4 (up to but not including the upper bound). A call to range(2,10) would return: 2, 3, 4, 5, 6, 7, 8, 9. A call to range(2,12,3) would return: 2, 5, 8, 11. Notice that I said, a couple times, that Python's range() function returns or generates a sequence. This is a relatively advanced distinction which usually won't be an issue for a novice. In older versions of Python range() built a list (allocated memory for it and populated with with values) and returned a reference to that list.
After age 21, women should have a Pap test every two years, instead of every year. At age 30, if a woman has no history of cervical cancer and has had three normal Pap tests in a row, she can be screened every three years, rather than every two to three years.Health.com) -- Young women should have their first Pap test no sooner than age 21, regardless of when they become sexually active, say new guidelines from the American College of Obstetricians and Gynecologists.
Women should have a Pap smear in the middle of their monthly cycle, or about 10-20 days after the LMP (last menstrual period) began. At least 2 days before the test, women should avoid having anything in the vagina including sexual intercourse, douching, vaginal creams/suppositories, or spermicide.