Coding Global Background
Coding Global

Python Speed test

python
Archiviert 2 months ago
👎1
0 Nachrichten
1 Mitglieder
Erstellt 3 months ago
Aktualisiert 3 months ago
In Discord öffnen
Y
𝙣𝙮𝙡𝙤𝙣
Vibe Coder!
 time

numbers = 100000

def test():

    for i in range(numbers):
        print(i)

start = time.time()

test()

end = time.time()

dauer = end - start
print(f"{dauer:.4f} seconds to print {numbers}")