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
def main(score, op_score): | |
score = int(input("How many points have you scored:")) | |
op_score = int(input("How many points has your opponent scored:")) | |
print ("The score is:", yourscore(score),"-", theirscore(score)) | |
def yourscore(score): | |
if score == 0: | |
score = ("Love") | |
elif score == 1: | |
score = ("Fifteen") |
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 random | |
import struct | |
import sys | |
# Most of the Fat32 class was cribbed from https://gist.github.com/jonte/4577833 | |
def ppNum(num): | |
return "%s (%s)" % (hex(num), num) |
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
body { | |
background: #333; | |
color: #CCC; | |
font: 16px Lato, sans-serif; | |
margin: 0; | |
} | |
#main { | |
background: #222; | |
border-radius: 0px; | |
bottom: 0px; |