python count loop code example Example: for loop example python 3 for num in nums: for letter in 'abs': print(num, letter)