I hereby claim:
- I am mchirico on github.
- I am mchirico (https://keybase.io/mchirico) on keybase.
- I have a public key ASB0jevpfCAwUfnClOeisa6_ldMD2nM_EM1iUNkTQEcAaAo
To claim this, I am signing this object:
import random | |
import time | |
import random | |
class Card: | |
def __init__(self, r, s): | |
self.rank = r | |
self.suit = s |
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 | |
source /Library/Frameworks/Python.framework/Versions/3.7/bin/virtualenvwrapper.sh |
# -*- coding: utf-8 -*- | |
# ZOE CHIRICO | |
# BLACKJACK | |
import random | |
import time | |
class Card: |
import random | |
def checkValue(guess, mysteryNumber, count): | |
if guess < 0 or guess > 10: | |
return count, 'Invalid guess' | |
if guess == mysteryNumber: | |
return count, 'Win' | |
if guess < mysteryNumber: | |
return count, 'Too Low' |
import random | |
def checkValue(guess, mysteryNumber, count): | |
if guess < 0 or guess > 10: | |
return count, 'Invalid guess' | |
if guess == mysteryNumber: | |
return count, 'Win' | |
if guess < mysteryNumber: | |
return count, 'Too Low' |
import random | |
def checkValue(guess, mysteryNumber, count): | |
if guess < 0 or guess > 10: | |
return count, 'Invalid guess' | |
if guess == mysteryNumber: | |
return count, 'Win' | |
if guess < mysteryNumber: | |
return count, 'Too Low' |
import random | |
def checkValue(guess, mysteryNumber, count): | |
if guess < 0 or guess > 10: | |
return count, 'Invalid guess' | |
if guess == mysteryNumber: | |
return count, 'Win' | |
if guess < mysteryNumber: | |
return count, 'Too Low' |
import random | |
numberOfGuesses = 0; | |
mysteryNumber = random.randint(1, 10) | |
while numberOfGuesses < 3: | |
guessUser1 = int(input("User1: Guess a number between 1-10: ")) | |
if guessUser1 < 0 or guessUser1 > 10: |
node { | |
name: "top" | |
customDisplay: "Root Node" | |
color: "#313c50" | |
edgeMeta: "{"top": {"A":{"text":"H0","color":"#334400","strokeColor":"#fbbe28","strokeWidth":2}, "A/One 1":{"text":"H1","strokeColor":"#fbbe28","strokeWidth":1}, "A/One 1/A":{"text":"H2","strokeColor":"#fbbe28","strokeWidth":3}, "A/One 1/A/a":{"text":"h3..","strokeColor":"#fbbe28","strokeWidth":3} }}" | |
} | |
node { | |
name: "A/One 1/A/a/end" |
I hereby claim:
To claim this, I am signing this object: