Our common
for i in range(10)
However, for the range function must be later than, range () only for the purpose of generating a digital iterables, in other words, any object can be used for loop iteration, such as a list, the elements, dictionaries.
Example
Example 1
for letter in 'Python':
print('当前字母:'+letter)
Example 2
fruits=['banana','apple','mango']
for fruit in fruits:
print('当前水果:'+fruit)