代码编写错误修正

发现代码中多出来一个空格。特此修正。
This commit is contained in:
TheLittleBoy
2014-06-28 16:24:48 +08:00
parent ce63ac6968
commit 918c3f2f7c

View File

@ -89,7 +89,7 @@ println("There are now \(Bank.coinsInBank) coins left in the bank")
```swift
playerOne!.winCoins(2_000)
println("PlayerOne won 2000 coins & now has \ (playerOne!.coinsInPurse) coins")
println("PlayerOne won 2000 coins & now has \(playerOne!.coinsInPurse) coins")
// 输出 "PlayerOne won 2000 coins & now has 2100 coins"
println("The bank now only has \(Bank.coinsInBank) coins left")
// 输出 "The bank now only has 7900 coins left"