Skip to content

Commit a994e2f

Browse files
authored
Merge pull request #855 from augustin-v/fix/golang-fmt-module
fix(golang): update fmt module expected output
2 parents 1aa7612 + 0eefe46 commit a994e2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tutorials/learn-golang.org/en/The fmt module.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func main() {
7777

7878
Expected Output
7979
---------------
80-
Lord of the Rings is Leonardo's favourite movie
80+
Tenet is Nolan's favourite movie
8181

8282
Solution
8383
--------
@@ -86,8 +86,8 @@ package main
8686
import "fmt"
8787

8888
func main() {
89-
name := "Leonardo"
90-
movie := "Lord of the Rings"
89+
name := "Nolan"
90+
movie := "Tenet"
9191

9292
fmt.Printf("%s is %s's favourite movie", movie, name)
9393
}

0 commit comments

Comments
 (0)