Python
Middle
GO
Вопрос: Как сделать if/else?
Ответы
package main
import "fmt"
func main() {
x := 7
if x%2 == 0 {
fmt.Println("even")
} else {
fmt.Println("odd")
}
}