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.
Stockbyte/Stockbyte/Getty Images. Blood Test. You can get a blood test 7 days after you ovulate, which is usually a week before your period. Blood tests can take longer to process than other methods of pregnancy tests, but a blood test can detect pregnancy earlier and is 99% accurate.You'll get your results back within 1 to 3 days, depending on how busy the lab is.here are two types of blood tests. One type measures exactly how much hCG is in your blood stream to determine how far along you are in your pregnancy. The other type gives a straight yes or no answer if you're pregnant or not. Both methods take the same amount of time to process.