I'm new to Swift and Xcode. I couldn't figure out how to take user input in Swift playground. I'm trying to write Swift equivalent of the following Python code:
def greet():
name = raw_input('What is your name?>')
print "Hello ", name
Is it possible to get user input in Swift playground?