上QQ阅读APP看书,第一时间看更新
Printing to the console
Swift's print() command automatically calls an object's String representation, so these last two lines of code are equivalent:
let age = 6
print("\(age)")
print(age)
Swift's print() command automatically calls an object's String representation, so these last two lines of code are equivalent:
let age = 6
print("\(age)")
print(age)