duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
print qq{Euclid's Algorithm 1.1E\n\n}; | |
sub littleEuclid { | |
my ($m,$n) = @_; | |
my $remainder = $m % $n; | |
my $reply = $remainder |
1 16 | |
2 267 | |
3 267 | |
4 169 | |
5 140 | |
6 112 | |
7 99 | |
8 68 | |
9 61 | |
10 56 |
Length Count | |
1 16 | |
2 267 | |
3 267 | |
4 169 | |
5 140 | |
6 112 | |
7 99 | |
8 68 | |
9 61 |
(2/2) checking for file conflicts [#######################################################] 100% | |
error: failed to commit transaction (conflicting files) | |
slim: /usr/bin/slimlock exists in filesystem | |
slim: /usr/share/man/man1/slimlock.1.gz exists in filesystem | |
Errors occurred, no packages were upgraded. |
400 -| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
300 -| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
| *************** *** *** *** *** *** *** *** *** *** *** *** *** |
#!/usr/bin/env python3 | |
f = open('somefile.txt','a+') | |
while True: | |
text = input('Say something silly ') | |
if text: | |
f.write(text) | |
print('CONTENT:',f.read()) | |
else: | |
f.close() | |
break |
" keyword 'grade' to enter in to grading mode: | |
:command -nargs=0 grade :js content.document.getElementById('yui-gen6').click() | |
" 'prev' keyword to access the previous assignement: | |
:command -nargs=0 prev :js content.document.getElementById('menuitems').getElementsByTagName('li'[content.document.getElementById('menuitems').getElementsByTagName('li').length - 2].getElementsByTagName('a')[0].click() |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my @a = (1,2,3,4,5); | |
foreach my $x (@a){ | |
print "first FOREACH: $x and the array is [@a] \n"; | |
} |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
foreach my $x (32..126) { | |
printf "$x =%3d, \n", $x; | |
} |