4 lines
83 B
Swift
4 lines
83 B
Swift
print("Enter a string: ", terminator: "")
|
|
if let str = readLine() {
|
|
print(str)
|
|
}
|