swift - hello-world
This commit is contained in:
6
swift/hello-world/Sources/HelloWorld.swift
Normal file
6
swift/hello-world/Sources/HelloWorld.swift
Normal file
@ -0,0 +1,6 @@
|
||||
//Solution goes in Sources
|
||||
class HelloWorld {
|
||||
class func hello(_ name: String = "World") -> String {
|
||||
return "Hello, \(name)!"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user