Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
@list=qw(a b c d e f);
for($i=0;$i<=$#list;$i++) {
if ($i/2==int($i/2)) {push(@evens,$list[$i])}
else {push(@odds ,$list[$i])}
}
print "odds are : " . (join " ",@odds) . "\n";
print "evens are : " . (join " ",@evens) . "\n";