loop [end of exampleexample using for loops for summation of data you typically want to use for loop for find the sum of given data set data sum #find sum numbers data sum sum sum #find mean average numbers data mean sum/ mean this gives the following results [end of exampleexample implementing fibonacci numbers using for loop in python fibonacci numbers are used in the analysis of financial marketsin strategies such as fibonacci retracementand are used in computer algorithms such as the fibonacci search technique and the fibonacci heap data structure they also appear in biological settingssuch as branching in treesarrangement of leaves on stemthe fruitlets of pineapplethe flowering of artichokean uncurling fern and the arrangement of pine cone in mathematicsfibonacci numbers are the numbers in the following sequence , by definitionthe first two fibonacci numbers are and and each subsequent number is the sum of the previous two some sources omit the initial instead beginning the sequence with two