Test Page¶
Kaleb’s Test Page¶
This is a test ooooooooooooooooooooooo
Warning
Test! This is a warning!
Added in version 2.1: Test Test2
Added in version 2.2: Test3 Test4 Test5
|
|
|
This text is CENTERED
def runGame():
aScore = 0
bScore = 0
setWinner = ""
while aScore < k and bScore < k:
aRoll = random.uniform(0, 1)
if aRoll < p:
aScore += 1
if aScore == k:
setWinner = "A"
break
bRoll = random.uniform(0, 1)
if bRoll > p:
bRoll = random.uniform(0, 1)
if bRoll < p:
bScore += 1
if bScore == k:
setWinner = "B"
return setWinner
Ugh, I’m so tired…
Mom: Come on Claire, it’s 10. You gotta get up.
Claire: Ughhhhhh… fine.
I’m not used to getting up this early. I don’t really have a choice though do I?
I get up and get dressed for today.
I’ve been living with my mom ever since the old apartment building I used to live in got destroyed. It…
Mom: Are you up yet?
Claire: Yes mom…
Better get downstairs before she keeps nagging me.
I go downstairs, still groggy from the terrible night of sleep I had last night.
Mom: Can you pick up some groceries when you have the chance, sweetie?
Claire: Aw, what? Why do I have to do it? I just got up…
Mom: You’re living under my roof, you’re gonna have to pull your weight. I know it’s just until you get a new apartment, but I can’t support you, your father, and myself on the pay I have. We need you to help out a bit.
Claire: Right… I’ll do it, sorry mom. I’ll start looking again when I get back.
Mom: Thanks sweetie. When you get back I’ll help you unload them. I’ll give you a list.
Mom hands me a list of groceries to get at the store.
\[\begin{split}(a + b)^3 &= (a + b)(a + b)(a + b) \\
&= (a^2 + 2ab + b^2)(a + b) \\
&= a^3 + 3a^2b + 3ab^2 + b^3\end{split}\]