let N = 10 for i in 1...N { for j in 1...N { print("*", terminator: "") } print() }