repl.it
@ItsYeBoiJ/

Cool hacking!

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
import random

randomx = random.randint(1,8327502385732098572938572038753028750289375098273582375982376583267388230750237502357203572039570239570239570923750293750)
random2 = random.randint(1,8327502385732098572938572038753028750289375098273582375982376583267388230750237502357203572039570239570239570923750293750)
input('Your first number is: ' +str(random2) +' press Enter to continue!')

num = [1]
while(randomx != random2):
  num.append(1)
  if randomx == random2:
    break
  else:
    randomx = random.randint(1,8327502385732098572938572038753028750289375098273582375982376583267388230750237502357203572039570239570239570923750293750)
    print(str(randomx))

print('It took '+str(sum(num))+' try(s) to match your numbers!')