let greet: (String) -> String = { name in return "Hello, \(name)!" } print(greet("Priya")) // Hello, Priya!
Click Run to execute this code.