Exercise goal: Practice using for loops.
We have some new hires at work, and their names are in the list names.
Use a for loop to print "Hello " for every name in the list.
For example, the first line of output should be:
What I have:
names = ['Adam', 'Tanya', 'Alice', 'Sean'] for Adam in names: print "Hello Adam" for Tanya in names: print "Hello Tanya" for Alice in names: print "Hello Alice" for Sean in names: print "Hello Sean"
But it prints everything 4 times