Tsallaka zuwa abun ciki
Justice Tech School

print Options

print takes separator and terminator. debugPrint and dump show more detail.

Example
print("a", "b", "c", separator: "-")
print("no newline", terminator: "")
print()
let p = (1, "x")
print(p)
dump(["k": 1])

Exercise

Change the separator.

print("a", "b", : "-")

Quiz Test

What does terminator change?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.