2019-09-12 10:33:56 -07:00
|
|
|
func greet(person: String, from hometown: String) -> String {
|
|
|
|
|
return "Hello \(person)! Glad you could visit from \(hometown)."
|
2016-12-05 23:44:36 +01:00
|
|
|
}
|
2019-09-12 10:33:56 -07:00
|
|
|
print(greet(person: "Bill", from: "Cupertino"))
|