Swift print All In One


Swift print All In One


/* Swift print All In One */
var str = "Hello, World!"

print(str)

print("\nthis is a string:\t" + str)

print("\nthis is an interpolation value = \(str)")

let const = "常量使用 let, 而不是 const!"

print("\n")
print(const)


https://docs.swift.org/swift-book/GuidedTour/GuidedTour.html

live demo

codepen & iframe template




https://www.runoob.com/try/runcode.php?filename=HelloWorld&type=swift

refs

https://www.runoob.com/swift/swift-tutorial.html


Flag Counter

?xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有??xgqfrms, 禁止转载 ???,侵权必究??!