Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 195 Bytes

Guess_the_number.md

File metadata and controls

11 lines (7 loc) · 195 Bytes
my $number = (1..10).pick;
repeat {} until prompt("Guess a number: ") == $number;
say "Guessed right!";