Skip to content

Instantly share code, notes, and snippets.

@kevinschaich
kevinschaich / python.py
Created November 2, 2016 04:31
Cool things in Python
# Counter: returns dictionary of {element: count} for a given list
from collections import Counter
counter = Counter(list)
@kevinschaich
kevinschaich / vocabulary.py
Created April 22, 2016 23:05
Reading Vocabulary Lists by Grade Level
# Source: http://www.hpcsd.org/district.cfm?subpage=29208
grade1 = "annoy attention calm comfortable consequences curious curve decide directions discover disappointed embarrassed enormous exhausted explore fair fascinating feast focus gigantic grumpy huge ignore instead investigate invite important jealous leader list lovely frustrated leader listen measuring miserable mumble negative nervous nibbled note notice observing opposite ordinary positive precious prefer problem protect proud question reminds repeat report rhyme respect rhyme searching special spotless squirm stomped suddenly suggestion surprise uncomfortable warning wonder worried"
grade2 = "Amaze Amusing Analyze Annoy Arranged Avoid Cause Classify Community Conclusion Connection Continue Cooperation Curious Cycle Data Describe Detail Diagram Difference Different Discover Drowsy Edit Effect Energy Enormous Escape Estimate Exercise Expect Famous Flock Friendly Frighten Frown Gasp Gather Gust Helpful Include Insist Investigate Label Leaned Living M