June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,5 +1,5 @@
|
|||
for ($x = 1; $x <= 5; $x++) {
|
||||
for ($y = 1; $y <= $x; $y++) {
|
||||
for(my $x = 1; $x <= 5; $x++) {
|
||||
for(my $y = 1; $y <= $x; $y++) {
|
||||
print "*";
|
||||
}
|
||||
print "\n";
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
print ('*' x $_ . "\n") for 1..5
|
||||
print ('*' x $_ . "\n") for 1..5;
|
||||
|
|
|
|||
1
Task/Loops-For/Perl/loops-for-4.pl
Normal file
1
Task/Loops-For/Perl/loops-for-4.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
map {print '*' x $_ . "\n"} 1..5;
|
||||
Loading…
Add table
Add a link
Reference in a new issue