Update 02_check_voter.go (#288)

fix voting status
This commit is contained in:
Renan Duarte Leal
2024-12-07 10:30:04 -03:00
committed by GitHub
parent 8a13efde83
commit 1d5567fe9a

View File

@@ -13,9 +13,9 @@ func main() {
func check_voter(name string) {
if voted[name] {
fmt.Println("kick tem out!")
fmt.Println("kick them out!")
} else {
voted[name] = true
fmt.Println("let tem vote!")
fmt.Println("let them vote!")
}
}