Search found 2 matches

by hackout
Mon Apr 14, 2014 8:19 am
Forum: Challenges Solved
Topic: A Little Python
Replies: 6
Views: 736

a litter php

print sum([x * (x - 1) for x in [y * y for y in xrange(3,11)]])

Code: Select all

for($y=3;$y<=11;$y++){
 $x[]=$y*$y;
}
foreach($x as $i){
 $a+=$i*($i-1);
}
echo $i;
[/code]
by hackout
Sat Mar 21, 2009 10:23 am
Forum: The Hacker's Server
Topic: hmm.wuts hacker?
Replies: 4
Views: 5561

hmm.wuts hacker?

wuts hacker?