GOLANGPROFI Telegram 368
Что выведет код ?

package main

import "fmt"

func main() {
animals := []string{"bear", "bear", "rabbit", "wolf"}

for _, animal := range animals {
switch animal {

case "rabbit":
fmt.Println(animal, "is so weak!")
fallthrough

case "bear", "wolf":
fmt.Println(animal, "is so strong!")
}
}
}

Ответ



tgoop.com/golangprofi/368
Create:
Last Update:

Что выведет код ?

package main

import "fmt"

func main() {
animals := []string{"bear", "bear", "rabbit", "wolf"}

for _, animal := range animals {
switch animal {

case "rabbit":
fmt.Println(animal, "is so weak!")
fallthrough

case "bear", "wolf":
fmt.Println(animal, "is so strong!")
}
}
}

Ответ

BY Golang Юниор


Share with your friend now:
tgoop.com/golangprofi/368

View MORE
Open in Telegram


Telegram News

Date: |

“[The defendant] could not shift his criminal liability,” Hui said. Your posting frequency depends on the topic of your channel. If you have a news channel, it’s OK to publish new content every day (or even every hour). For other industries, stick with 2-3 large posts a week. Matt Hussey, editorial director at NEAR Protocol also responded to this news with “#meIRL”. Just as you search “Bear Market Screaming” in Telegram, you will see a Pepe frog yelling as the group’s featured image. How to Create a Private or Public Channel on Telegram? Judge Hui described Ng as inciting others to “commit a massacre” with three posts teaching people to make “toxic chlorine gas bombs,” target police stations, police quarters and the city’s metro stations. This offence was “rather serious,” the court said.
from us


Telegram Golang Юниор
FROM American