Rawish Strings

Report a typo

You're debugging using Printf's. What a pity: some Escape sequence Values aren't showing on the screen.

What could be the cause of it?

Sample Input 1:


Sample Output 1:

\n A newline character.\t A tab character.\" Double quotation marks.\\ A backslash.
Write a program in Go
package main

import "fmt"

func help() string {
// Remember the difference between raw and normal strings?
debug := "\n A newline character." +
"\t A tab character." +
"\" Double quotation marks." +
"\\ A backslash."

// DO NOT remove the 'return debug' statement!
return debug
}

// DO NOT MODIFY the main function below!
func main() {
fmt.Println(help())
}
___

Create a free account to access the full topic