News for hackers. Stuff that matters.
Re:In a study of senior CS majors, U.S. students are tops in... by the_jeremy on Tuesday March 19, 2019 @02:07PM (#19433646)
for i = 1-10

for j = 1-10

if i == j break

for k = 1-10

if i == j or i == k break

log(i,j,k)

(I don't understand HN formatting still)

Re:In a study of senior CS majors, U.S. students are tops in... by m463 on Tuesday March 19, 2019 @09:41PM (#19438094)

    #!/usr/bin/python
    r = [(i,j,k) for i in range(10) for j in range(10) for k in range(10) if i!=j and i!=k and j!=k]
    print(len(r))