A Pen by Pramod Sripada on CodePen.
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
# Rock Paper Scissors | |
# FSM Programming - June 6, 2016 | |
# IU - Jaimie Murdock and Blake Forland | |
import random | |
choices = ['rock', 'paper', 'scissors'] | |
def computer(): | |
return random.choice(choices) |
A Pen by Pramod Sripada on CodePen.
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
#!/usr/bin/env python | |
import codecs | |
import json | |
import urllib.request | |
import sys | |
# 1. Get Data from InPhO API | |
# https://inpho.cogs.indiana.edu/docs/ | |
# select datatype from ['entity', 'idea', 'thinker'] | |
datatype = 'entity' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder