#Racket, 52 bytes
Racket, 52 bytes
(display(string-join(make-list 10"**********")"\n"))
If you're fine with just returning the string and not printing it, you can forego the (display) for a score of 41 bytes.
An alternate answer (longer at 73 bytes, but I like it better personally):
(display(build-string 110(λ(n)(if(eq?(remainder n 10)0)#\newline #\*))))
#Racket, 52 bytes
(display(string-join(make-list 10"**********")"\n"))
If you're fine with just returning the string and not printing it, you can forego the (display) for a score of 41 bytes.
An alternate answer (longer at 73 bytes, but I like it better personally):
(display(build-string 110(λ(n)(if(eq?(remainder n 10)0)#\newline #\*))))
Racket, 52 bytes
(display(string-join(make-list 10"**********")"\n"))
If you're fine with just returning the string and not printing it, you can forego the (display) for a score of 41 bytes.
An alternate answer (longer at 73 bytes, but I like it better personally):
(display(build-string 110(λ(n)(if(eq?(remainder n 10)0)#\newline #\*))))
#Racket, 52 bytes
(display(string-join(make-list 10"**********")"\n"))
If you're fine with just returning the string and not printing it, you can forego the (display) for a score of 41 bytes.
An alternate answer (longer at 73 bytes, but I like it better personally):
(display(build-string 110(λ(n)(if(eq?(remainder n 10)0)#\newline #\*))))