42195.0米

马拉松的长度是42195,代码错写成了42495。特此更正。
This commit is contained in:
TheLittleBoy
2014-07-03 16:49:12 +08:00
parent ce63ac6968
commit 06ba8c5ab2

View File

@ -81,7 +81,7 @@ println("Three feet is \(threeFeet) meters")
```swift
let aMarathon = 42.km + 195.m
println("A marathon is \(aMarathon) meters long")
// 打印输出:"A marathon is 42495.0 meters long"
// 打印输出:"A marathon is 42195.0 meters long"
```