Quiz: What would this code produce if we were to copy-paste it in a code editor and run it?
func greetCoder() {
fmt.Println("Hello!")
fmt.Println("Let's code!")
}
func mainFunction() {
greetCoder()
greetCoder()
}
Important Note:
Do not use an actual code editor to get the answer. It would defeat the purpose of the quiz.
Pick your answer

FREE ACCOUNT
Sign in to keep going
Check the next steps and keep your code. It’s free, and your progress is saved.
By continuing you agree to the Terms of Service and Privacy Policy.