def tripleall(nums)''print triple each of the numbers in the list nums tripleall([ ] tripleall([- ]- ''simple repeat loop the examples above all used the value of the variable in the for loop heading an even simpler for loop usage is when you just want to repeat the exact same thing specific number of times in that case only the length of the sequencenot the individual elements are important we have already seen that the range function provides an easy way to produce sequence with specified number of elements read and run the example program repeat py'' simple repeat loop''for in range( )print('hello'in this situationthe variable is not used inside the body of the for-loop the user could choose the number of times to repeat read and run the example program repeat py'''the number of repetitions is specified by the user '' int(input('enter the number of times to repeat')for in range( )print('this is repetitious!'when you are reading codeyou look at variable names as they are introducedand see where they are used later in the simple repeat loops abovethe loop variable is introducedbecause there must be variable name therebut it is never used one convention to indicate the simple repeat loop variable is never used againis to use the special variable name (just an underscore)as infor in range( )print('hello'successive modification loops suppose have list of items called itemsand want to print out each item and number them successively for instance if items is ['red''orange''yellow''green'] would like to see the output red orange yellow green read about the following thought process for developing thisif allow myself to omit the numbersit is easyfor any item in the listi can process it with beginning with python