Skip to content

Commit 989cd3d

Browse files
author
grondilu
committed
Update rosalind/iev-grondilu.pl
shorter version
1 parent 3a42b1e commit 989cd3d

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

rosalind/iev-grondilu.pl

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
use v6;
22

3-
given $*IN.get.split: " " {
4-
say 2 * [+]
5-
.[0], # AA AA
6-
.[1], # AA Aa
7-
.[2], # AA aa
8-
(3/4 * .[3]), # Aa Aa
9-
(1/2 * .[4]), # Aa aa
10-
0, # aa aa
11-
;
12-
}
13-
# vim: ft=perl6
3+
say 2 * [+] <1 1 1 3/4 1/2 0> Z* $*IN.get.split: " ";
4+

0 commit comments

Comments
 (0)