Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- for i := 0; i < 10; i++ {
- for j := 0; j < 10; j++ {
- fmt.Print("*")
- }
- fmt.Println()
- }
- }
- ИЛИ:
- package main
- import (
- "fmt"
- "strings"
- )
- func main() {
- for i := 0; i < 10; i++ {
- fmt.Println(strings.Repeat("*", 10))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement