Browse Source

fix(podiumposition): re-format golang codeblock

pull/1541/head
Harry 2 years ago committed by GitHub
parent
commit
d2b3bdbd2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      subjects/podiumposition/README.md

14
subjects/podiumposition/README.md

@ -23,13 +23,19 @@ Here is a possible program to test your function:
package main
import (
"fmt"
"piscine"
"fmt"
"piscine"
)
func main() {
position := [][]string{{"4th Place"}, {"3rd Place"}, {"2nd Place"}, {"1st Place"}}
fmt.Println(piscine.PodiumPosition(position))
p4 := []string{"4th Place"}
p3 := []string{"3rd Place"}
p2 := []string{"2nd Place"}
p1 := []string{"1st Place"}
position := [][]string{p4, p3, p2, p1}
fmt.Println(piscine.PodiumPosition(position))
}
```

Loading…
Cancel
Save