repl.it
@tomnagel/

Random testing

Python

Its just for tests, delete stuff after test

fork
loading
Files
  • main.py
  • test
  • write_file
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Just test stuff
import time
import random

"""
write_file = open("write_file", "w")

test = 5000000

run_time = 0

run_time = time.time()

for i in range (0, test):
  kaas = str(random.randint(0, test))
  write_file.write(kaas)
  write_file.write("\n")

run_time = time.time() - run_time
print(run_time)
write_file.close()
"""
test = 1.41539473324427
test = test / (6.28)
print(test)
Fetching token
?