Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: String Formatting Practice | Section
Getting Started with Go

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Β 1. ChapterΒ 18

Ask AI

expand

Ask AI

ChatGPT

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

SectionΒ 1. ChapterΒ 18
some-alt