Question #153

Author: admin
tags: Go  
package main

import "fmt"

func main() {
	data := []string{"Haruki", "Tokyo"}
	showText(data...)
}

func showText(name string, location string) {
	fmt.Printf("%s from %s", name, location)
}
Is this code correct?
Yes
No, showText is a non-variadic function
No, data must be an array, not a slice
No, data must be a map with "name" and "location" keys
Rate the difficulty of the question:
easyhard