import random
# import os
os_dirINDEX = {
"C:\Program Files",
"C:\Program Files (x86)",
"C:\pagefile.sys",
"C:\System Volume Information",
"C:\Windows\WinSxS",
"C:\Program Files\RUXIM",
"C:\Windows\System32", # smirk, winkwink
}
def GetRandomFile(path):
target = random.choice(list(path))
return target
randNUMBER = random.randint(1, 9999999999999)
pGUESS = input("Number Game!\nEnter the random number for a prize!\n")
pGUESS = int(pGUESS)
if pGUESS == randNUMBER:
print("GOOD JOB! Now do it again (threat)")
else:
print("WRONG! Number was: ", randNUMBER)
print("Take this L: " + GetRandomFile(os_dirINDEX))
# os.remove(GetRandomFile(os_dirINDEX))
To embed this project on your website, copy the following code and paste it into your website's HTML: