42195.0米
马拉松的长度是42195,代码错写成了42495。特此更正。
This commit is contained in:
@ -81,7 +81,7 @@ println("Three feet is \(threeFeet) meters")
|
|||||||
```swift
|
```swift
|
||||||
let aMarathon = 42.km + 195.m
|
let aMarathon = 42.km + 195.m
|
||||||
println("A marathon is \(aMarathon) meters long")
|
println("A marathon is \(aMarathon) meters long")
|
||||||
// 打印输出:"A marathon is 42495.0 meters long"
|
// 打印输出:"A marathon is 42195.0 meters long"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user