Skip to content

Instantly share code, notes, and snippets.

f = open("sowpods.txt", "r")
canonized_words = {}
word1 = ""
word2 = ""
max_len = 0
for line in f:
if len(line) > max_len:
sorted_word = ''.join(sorted(line))
@machinaut
machinaut / Arc_Snippet.json
Created November 6, 2011 06:09 — forked from mwoodworth/Arc_Snippet.json
Upverter Open JSON Shapes
"shapes": [
{
"start_angle": 0.5,
"end_angle": 1.5,
"type": "arc",
"radius": 10,
"x": 10,
"y": -10
}
]
#include <stdio.h>
int main(void) {
for(int i = 0 ; i < 10; i++){
printf("%d\n",i);
}return 0;
}