Fix the broken code

Report a typo

Below you will see a small program with a few syntax errors. Please fix the errors so that we can output the predefined emoji() function into our terminal.

Write a program in Go
pkg main

import "format"

func init() {
fmt.Println(emoji())
}

// DO NOT change the code of the emoji() function! look out for other errors!
func emoji() string {
// return an emoji
return "👨‍💻" + " 🏆 Well done! 🏆 " + "👩‍💻"
}
___

Create a free account to access the full topic