Skip to content

Instantly share code, notes, and snippets.

@baditaflorin
Created December 11, 2024 02:34
Show Gist options
  • Save baditaflorin/422a6441f7a7144f5f064195db994bd3 to your computer and use it in GitHub Desktop.
Save baditaflorin/422a6441f7a7144f5f064195db994bd3 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
func main() {
// Loop 1000 times
for i := 1; i <= 1000; i++ {
// Print the iteration number with a message
fmt.Printf("This is iteration number %d\n", i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment