swift how to print data code example
Example: swift print
print("Hello World")
//printing a value
let num = 5
print(num)
print("a num: " + num) //concatenation
print("a num: \(num)") //interpolation
print("Hello World")
//printing a value
let num = 5
print(num)
print("a num: " + num) //concatenation
print("a num: \(num)") //interpolation