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.
Packages
Fix the broken code
Report a typo
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! 🏆 " + "👩💻"
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.