June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import random
|
||||
target, guess = random.randint(1, 10), 0
|
||||
guess = int(input("Guess a number that's between 1 and 10: "))
|
||||
while target != guess:
|
||||
guess = int(input("Guess again! "))
|
||||
t,g=random.randint(1,10),0
|
||||
g=int(input("Guess a number that's between 1 and 10: "))
|
||||
while t!=g:g=int(input("Guess again! "))
|
||||
print("That's right!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue