Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/learn-golang.org/en/The fmt module.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {

Expected Output
---------------
Lord of the Rings is Leonardo's favourite movie
Tenet is Nolan's favourite movie

Solution
--------
Expand All @@ -86,8 +86,8 @@ package main
import "fmt"

func main() {
name := "Leonardo"
movie := "Lord of the Rings"
name := "Nolan"
movie := "Tenet"

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