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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type = "text/javascript" src = "sweatshirt.js"></script> | |
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> | |
<title>Sweatshirt Suggestions</title> | |
</head> | |
<body> | |
<br><br> | |
<div id="header">Should I wear a sweatshirt today?</div> |
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
# I wrote this script as part of an assignment for a course in Urban Informatics. | |
# The script computes the Erdos number for an author based on an input of a paper | |
# database and list of names. An Erdos number is a measure of degrees of separation | |
# between the author(s) of a paper and mathematician Paul Erdos. The problem | |
# description can be found here: | |
# http://www.programming-challenges.com/pg.php?page=downloadproblem&format=html&probid=110206 | |
import sys | |
myFile = open("input3.txt", "r") |