RosettaCodeData/Task/Associative-array-Creation/Perl-6/associative-array-creation-2.pl6
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

3 lines
51 B
Raku

my @a = 1..5;
my @b = 'a'..'e';
my %h = @a Z=> @b;