GOLANGTESTS Telegram 238
Что выведет код ?

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!")
}
}
}

Ответ

@golangtests
👍74👎1🔥1😱1



tgoop.com/golangtests/238
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!")
}
}
}

Ответ

@golangtests

BY Go tests


Share with your friend now:
tgoop.com/golangtests/238

View MORE
Open in Telegram


Telegram News

Date: |

Among the requests, the Brazilian electoral Court wanted to know if they could obtain data on the origins of malicious content posted on the platform. According to the TSE, this would enable the authorities to track false content and identify the user responsible for publishing it in the first place. Avoid compound hashtags that consist of several words. If you have a hashtag like #marketingnewsinusa, split it into smaller hashtags: “#marketing, #news, #usa. 4How to customize a Telegram channel? Private channels are only accessible to subscribers and don’t appear in public searches. To join a private channel, you need to receive a link from the owner (administrator). A private channel is an excellent solution for companies and teams. You can also use this type of channel to write down personal notes, reflections, etc. By the way, you can make your private channel public at any moment. Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link).
from us


Telegram Go tests
FROM American