Skip to content

Instantly share code, notes, and snippets.

View build-times-summary.js
#!/usr/bin/env node
'use strict';
const chalk = require('chalk');
const fs = require('fs');
const { table } = require('table');
const FILTER = /./;
const REPORT_LIMIT = 10;
@benblank
benblank / problem6.py
Created Aug 8, 2016
Module demonstrating PEP 8 violations on doctests in PyCharm
View problem6.py
def problem6(limit: int) -> int:
"""Sum square difference
The sum of the squares of the first ten natural numbers is,
1^(2) + 2^(2) + ... + 10^(2) = 385
The square of the sum of the first ten natural numbers is,
(1 + 2 + ... + 10)^(2) = 55^(2) = 3025