Steady squares: Difference between revisions

m
(Created Nim solution.)
Line 2,217:
 
== {{header|Ruby}} ==
<syntaxhighlight lang="ruby">p (0..10_000).select{|n| (n*n).to_s.end_with? n.to_s } </syntaxhighlight>
</syntaxhighlight>
{{out}}
<pre>[0, 1, 5, 6, 25, 76, 376, 625, 9376]
</pre>
 
=={{header|Rust}}==
<syntaxhighlight lang="rust">
1,149

edits