Making a slice of the given size

Report a typo

Declare and initialize a slice of strings with the length of y, and then print the length of the slice.

Sample Input 1:

2

Sample Output 1:

2
Write a program in Go
package main

import "fmt"

func main() {
// DO NOT delete or modify the code block below!
var y int
fmt.Scanln(&y)

// Make a slice of strings with the length 'y' below:
s := ?

fmt.Println(?) // print the 'len' of the slice here!
}
___

Create a free account to access the full topic