Skip to content

Instantly share code, notes, and snippets.

from Education import RIT, Princeton Day School
from RIT import Computer Science (Expected Graduation 2016)
class Benjamin_Cohen(self):
__slots__=('objective','experience','projects','notable_classes','languages','software','accomplishments')
def __init__(self):
self.objective="Software Engineering position where I can apply my skills in a creative and rewarding manner and continue to gain experience in the field"
self.experience = {"Freelance iOS Development":"10/2010-12/2011",'Mathematics and Computer Tutoring':'10/2011-Present','Princeton Day School Computer Dept. Summer Assistant':'6/09-8/09'}
self.projects = ["English-Lojban Translator","Multiple iOS apps",'Rho Epsilon Pi Website','ReadyToPay']
self.notable_classes=['iOS Development','Object Oriented Programming','Data Structures for Problem Solving','Differential Equations','Computer Science Theory','Software Engineering','AI','Programming Language Concepts','Special Topics: Language Technology']
self.languages=['HTML','CSS','JAVA','C++','P
2
14 11 16
4 4 1
0 2 1
6 3 2
7 0 1
0 1 1
5 4 1
7 1 1
5 5 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 21 21:45:14 2016
@author: ben
"""
import csv
import matplotlib.pyplot as plt
my_file = csv.DictReader(open('train.csv', 'rw'))
# given a list of numbers, calculate its average
# [100, 200, 300, 200] -> 200
# [100, 200, 300, 200] -> 800 / 4 -> 200
number_to_multiply = 7
def my_crazy_operation(input_number, number_to_add):
input_number += number_to_add
input_number -= 3
input_number *= number_to_multiply
import random
STUDENTS = 16
PROJECTS = 10
STUDENTS_PER_PROJECT = 4
def sim():
all_students = range(STUDENTS)
#basic guessing game
import csv
import random
import re
import numpy
import matplotlib.pyplot as plt
#num_to_guess = random.randint(0,100)
#
#basic guessing game
import csv
import random
import re
import numpy
import matplotlib.pyplot as plt
#num_to_guess = random.randint(0,100)
#
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 22 20:56:26 2016
@author: ben
"""
# goal - write a program that finds the average of a group of numbers
# example: given 5, 10, 20, 25 we want to output 15
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 6 21:28:37 2016
@author: ben
"""
import numpy
my_dict = {
'ben': [100, 90, 80, 85],