Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn 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) }

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 8

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 1.96

bookChallenge: String Formatting Practice

Swipe to show menu

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) }

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 8
some-alt