When you have a piece of code you want to run x number of times, then code within that code which you want to run y number of times, you use what is known as a nested loop. In Python, these are heavily used whenever someone has a list of lists-an iterable object within an iterable object.1  Early exits.f you've done any programming before, there's no doubt you've come across a for loop or an equivalent to it. In Python, they work a little differently. Basically, any object with an iterable method can be used in a for loop in Python.
If the result is abnormal, it is typically followed up with a fasting blood glucose test or a GTT. Glucose blood tests are also used to screen pregnant women for gestational diabetes between their 24th and 28th week of pregnancy.
An A1C (Hemoglobin A1C) is a blood test that can predict average blood glucose levels for about 8-12 weeks. Women with diabetes should strive for near normal A1Cs prior to, as well as during, pregnancy.In general the target A1C should be less than 7% before pregnancy and less than 6% while pregnant. Stacy Wiegman, PharmD, Pharmacy, answered. If you have diabetes and are pregnant your A1C levels should be as close to normal as possible. Pregnant women who do not have diabetes typically have A1C levels of less than 5%, and this should be the target range for pregnant women with diabetes.