repl.it
@CarterMonkey/

PythonCoderGames

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
import random
x = random.randint(1, 100)
y = random.randint(1, 100)
print(x, y)
answer = x + y
answer2 = int(input("What is the answer? "))
if answer == answer2:
  print("Congratulations you can do basic math!")
else:
  print("Incorrect")