Skip to content

Instantly share code, notes, and snippets.

@sdawncasey
sdawncasey / Fortune Teller
Created November 30, 2013 18:47
This is my first attempt to write a Python program that would take inputs and return a final result based on the values of the original responses. I'm a complete newbie and have only gone through the first 13 chapters of "Hello, World" by Sande (at this point). It's not pretty, but it works! :)
import time
print "This is a fortune teller. You will enter some information,"
print "and I will tell you your fortune."
time.sleep(1)
name = raw_input("What is your name? ")
print "Hi,",name, "let's get started with the questions."
time.sleep(1)
@sdawncasey
sdawncasey / gist:332967a7de3231c76446
Created July 6, 2014 17:06
Working on a new project
<?php
class Casey {
public $hair = 'brown';
public $eyes = 'brown';
public $loves = array('monkeys', 'SciFi', 'texas', 'music');
}
$human = new Casey();
$human->birthday('2015-02-02');
$human->fingers = 10;