Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var num int
- fmt.Scan(&num)
- for i := 1; i <= num; i++ {
- for j := 1; j <= num; j++ {
- fmt.Print(j)
- }
- fmt.Print("\n")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement