FOR LOOPS (with Numbers and Names)

//FOR LOOPS

let array = [23, 32, 44, 34]

for number in array {

    print (number)

}


// FOR LOOPS WITH NAMES

let array = ["Marie", "John", "Jose", "Pete"]

for names in array {

    print("Hi there " + names + "!")

}



Happy coding!! :)