gather {
my @a = (1..5).map({''});
until @a.join("") eq "ズンズンズンズンドコ" {
@a.shift;
@a.append: take ("ズン", "ドコ").pick;
}
take "キ・ヨ・シ!";
}.say
Perl6 便利
Go to list of users who liked
More than 5 years have passed since last update.
gather {
my @a = (1..5).map({''});
until @a.join("") eq "ズンズンズンズンドコ" {
@a.shift;
@a.append: take ("ズン", "ドコ").pick;
}
take "キ・ヨ・シ!";
}.say
Perl6 便利
Register as a new user and use Qiita more conveniently
Go to list of users who liked