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.
Blood Glucose. A blood glucose test measures the amount of a type of sugar, called glucose, in your blood. Glucose comes from carbohydrate foods. It is the main source of energy used by the body.Insulin is a hormone that helps your body's cells use the glucose. This test can be used to diagnose diabetes. 2  It also shows how well your diabetes has been controlled in the past 2 to 3 months and whether your diabetes medicine needs to be changed. 3  The result of your A1c test can be used to estimate your average blood sugar level. 4  This is called your estimated average glucose, or eAG.