var score int
fmt.Println(" enter a score:")//输入
fmt.Scanln(&score)if score>=90{
fmt.Println("a")}elseif score>=80{
fmt.Println("b")}elseif score>=70{
fmt.Println("c")}else{
fmt.Println("d")}
for
s :="hello 璐路 雷超"//i是索引,v是指for i, v :=range s {
fmt.Println(i,string(v))}```
if var score int fmt.Println(" enter a score:") //输入 fmt.Scanln(&score) if score>=90 { fmt.Println("a") }else if score>=80 { fmt.Println("b") }else if score>=70 { fmt.Println("c") }else { fmt.Println("d") }for s := "hello