4 lines
57 B
Swift
4 lines
57 B
Swift
let s = "1234"
|
|
if let x = Int(s) {
|
|
print("\(x + 1)")
|
|
}
|
let s = "1234"
|
|
if let x = Int(s) {
|
|
print("\(x + 1)")
|
|
}
|