This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
STUDENTS = 16 | |
PROJECTS = 10 | |
STUDENTS_PER_PROJECT = 4 | |
def sim(): | |
all_students = range(STUDENTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#basic guessing game | |
import csv | |
import random | |
import re | |
import numpy | |
import matplotlib.pyplot as plt | |
#num_to_guess = random.randint(0,100) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#basic guessing game | |
import csv | |
import random | |
import re | |
import numpy | |
import matplotlib.pyplot as plt | |
#num_to_guess = random.randint(0,100) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Oct 6 21:28:37 2016 | |
@author: ben | |
""" | |
import numpy | |
my_dict = { | |
'ben': [100, 90, 80, 85], |
OlderNewer