编辑代码

package main
import "fmt"
func main () {
    for i:=1;i<=100;i++{
       if i%2 ==0{
           fmt.Print(i)
       }
    }
}