執行 ❯
建立您
自己的
網站
×
更改方向
更改主題,深色/淺色
前往 Spaces
package main import ("fmt") func main() { temperature := 14 if (temperature > 15) { fmt.Println("It is warm out there.") } // this raises an error else { fmt.Println("It is cold out there.") } }
./prog.go:9:3:語法錯誤:意外的 else,應為 }