Skip to content

Instantly share code, notes, and snippets.

View TammyLaforest's full-sized avatar

Tammy Laforest TammyLaforest

  • Providence, Rhode Island
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
@TammyLaforest
TammyLaforest / main.py
Created February 16, 2019 03:23
MotionlessGlossyComma created by TammyLaforest - https://repl.it/@TammyLaforest/MotionlessGlossyComma
# Improved code
import random
first = 1
last = 10
number = random.randint(first, last)
guess = int(input("Enter a number from " + str(first) + " to " + str(last) +": "))
@TammyLaforest
TammyLaforest / main.py
Created February 16, 2019 03:18
MotionlessGlossyComma created by TammyLaforest - https://repl.it/@TammyLaforest/MotionlessGlossyComma
import random
first = 1
last = 10
number = random.randint(first, last)
guess = int(input("Enter a number from " + str(first) + " to " + str(last) +": "))
while number != guess:
if guess < number:
@TammyLaforest
TammyLaforest / main.py
Created February 16, 2019 03:17
MotionlessGlossyComma created by TammyLaforest - https://repl.it/@TammyLaforest/MotionlessGlossyComma
import random
first = 1
last = 10
number = random.randint(first, last)
guess = int(input("Enter a number from " + str(first) + " to " + str(last) +": "))
while number != guess:
if guess < number: