repl.it
@Bookie0/

sophie test

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
print ("hello world, welcome to this guessing game.")
import time
time.sleep(3)

a = input("\nwho is the best person in the world. type your answer\n")
name = "sophie"
if a == name:
  print (" good job you guessed correctly")
else:
  print (" you suck")

print(" here is an other question.")
time.sleep(2)
import random
b = random.randint(1,8)
c = input (" type in a random number from 1 to 8")
if c == b:
    print(" yay you guessed correctly")
else:
      print ("you suck")
print ("the number was"+ ")
?