Step across the characters in a string, printing the uppercase version of each as it goes:
for c in 'test': print(c.upper())