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 tests. Blood tests are done in a doctor's office. They can pick up hCG earlier in a pregnancy than urine tests can. Blood tests can tell if you are pregnant about six to eight days after you ovulate.Doctors use two types of blood tests to check for pregnancy: 1  Quantitative blood test (or the beta hCG test) measures the exact amount of hCG in your blood.2  So it can find even tiny amounts of hCG. 3  This makes it very accurate.lood tests can tell if you are pregnant about six to eight days after you ovulate. Doctors use two types of blood tests to check for pregnancy: 1  Quantitative blood test (or the beta hCG test) measures the exact amount of hCG in your blood. 2  So it can find even tiny amounts of hCG. 3  This makes it very accurate.