Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: String Formatting Practice | Data Types
Introduction to GoLang

bookChallenge: String Formatting Practice

Task

Write the correct format specifiers to format the string based on the passed arguments in the Printf function.

index.go

index.go

copy
123456
package main import "fmt" func main() { fmt.Printf("___", 'm', 10, "Word", 7.99, true) }

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 8

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 1.96

bookChallenge: String Formatting Practice

Stryg for at vise menuen

Task

Write the correct format specifiers to format the string based on the passed arguments in the Printf function.

index.go

index.go

copy
123456
package main import "fmt" func main() { fmt.Printf("___", 'm', 10, "Word", 7.99, true) }

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 8
some-alt