Finding Nemo

Run Settings
LanguagePython
Language Version
Run Command
import time nemo = ["nemo"] * 100000 def findNemo(array): for item in array: if item == "nemo": print("Found NEMO!") start = time.perf_counter() findNemo(nemo) end = time.perf_counter() print(f'Call to find Nemo took {(end - start) * 1000:.2f} milliseconds')
Editor Settings
Theme
Key bindings
Full width
Lines