fix: typo fixes
This commit is contained in:
committed by
Inanc Gumus
parent
ec1fb0e322
commit
288a41adf9
@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 3 {
|
||||
if len(os.Args) != 3 {
|
||||
fmt.Println("gimme two numbers")
|
||||
return
|
||||
}
|
||||
|
@ -28,6 +28,6 @@ func main() {
|
||||
c = "-"
|
||||
}
|
||||
fmt.Printf("\r%s Please Wait. Processing....", c)
|
||||
time.Sleep(time.Millisecond * 150)
|
||||
time.Sleep(time.Millisecond * 250)
|
||||
}
|
||||
}
|
||||
|
@ -18,14 +18,14 @@ package main
|
||||
// 3. I would use a short switch.
|
||||
//
|
||||
// EXAMPLES
|
||||
// Player wins: then randomly printone of these:
|
||||
// The Player wins: then randomly print one of these:
|
||||
//
|
||||
// go run main.go 5
|
||||
// YOU WON
|
||||
// go run main.go 5
|
||||
// YOU'RE AWESOME
|
||||
//
|
||||
// Player loses: then randomly printone of these:
|
||||
// The Player loses: then randomly print one of these:
|
||||
//
|
||||
// go run main.go 5
|
||||
// LOSER!
|
||||
|
Reference in New Issue
Block a user