Défi : Hello World
Tâche
Compléter le code suivant qui affiche "Operation Successful".
index.go
123456package main import "fmt" func main() { ___("Operation Successful") }
- Utilisation d'une fonction pour afficher du texte.
- La fonction provient du package fmt.
- Compléter l'espace vide avec le nom de fonction approprié.
package main
import "fmt"
func main() {
fmt.Println("Operation Successful")
}
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 8
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
What does the fmt.Println function do?
Are there other functions in the fmt package for displaying text?
Can you explain why we use double quotes around the message?
Awesome!
Completion rate improved to 1.96
Défi : Hello World
Glissez pour afficher le menu
Tâche
Compléter le code suivant qui affiche "Operation Successful".
index.go
123456package main import "fmt" func main() { ___("Operation Successful") }
- Utilisation d'une fonction pour afficher du texte.
- La fonction provient du package fmt.
- Compléter l'espace vide avec le nom de fonction approprié.
package main
import "fmt"
func main() {
fmt.Println("Operation Successful")
}
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 8