Skip to content

Commit

Permalink
Add robot-name exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Dec 17, 2024
1 parent 4361f1c commit b7a4824
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exercises/practice/robot-name/.meta/example.ua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
RandomLetters ← (+@A ⌊×26 [⍥⚂] 2)
RandomDigits ← (+@0 ⌊×10 [⍥⚂] 3)
RandomRange ← + ⌊× ⊙[⍥⚂]
RandomLetters ← (RandomRange 26 2 @A)
RandomDigits ← (RandomRange 10 3 @0)
GenerateName ← (⊂ RandomLetters RandomDigits)

0 comments on commit b7a4824

Please sign in to comment.