def beatles = ["John", "Paul", "George", "Ringo"] for(name in beatles) { println name }