This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def iterate(l, ost): | |
if ost == 0: return l | |
newL = [] | |
for i in l: | |
for k in "01": newL.append(i + k) | |
return iterate(newL, ost - 1) | |
func = input("Input function (in eval format): ") | |
variables = [] | |
for i in func: | |
if i in "ABCDEFGHIJKLMNOPQRSTUVWXYZ" and not i in variables: variables.append(i) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "untitled" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
bracket-color = "0.8.2" | |
[dependencies.sdl2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# --- | |
# dependencies: | |
# python.org: '>=3.11.3' | |
# nmap.org: '*' | |
# --- | |
import os | |
import sys | |
myArgs = list(sys.argv)[0:] |