Advertisement
Spocoman

09. Numbers from 1 to 10

Sep 19th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.12 KB | None | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     for number := 1; number < 11; number++ {
  7.         fmt.Println(number)
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement