- Começando com a seguinte slice:
- x := []int{42, 43, 44, 45, 46, 47, 48, 49, 50, 51}
- Anexe a ela o valor 52;
- Anexe a ela os valores 53, 54 e 55 utilizando uma única declaração;
- Demonstre a slice;
- Anexe a ela a seguinte slice:
- y := []int{56, 57, 58, 59, 60}
- Demonstre a slice x.
- Solução: https://play.golang.org/p/6WNJ0Otpy0
→ Compartilhe sua solução e converse com outros estudantes em: https://github.com/ellenkorbes/aprendago/issues/30
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.