PySearch - Python Expression Finder
Input Parameters
Variable Name:
Input Values (comma-separated):
Goal Values (comma-separated, use ? for wildcard):
Use "?" to ignore specific outputs. Example: "1,?,0,?" will only check that input 1 → 1 and input 3 → 0.
Maximum Expression Length:
Literals (comma-separated or ranges with -):
Examples: "1,2,3" or "1-5" or "1,2-5,10" (creates: 1,2,3,4,5,10)
Operators:
+ (Addition)
- (Subtraction)
* (Multiplication)
/ (Division)
% (Modulo)
** (Exponent)
| (Bitwise OR)
& (Bitwise AND)
^ (Bitwise XOR)
<< (Left shift)
>> (Right shift)
~ (Bitwise NOT)
! (Logical NOT)
// (Floor division)
Hold Ctrl/Cmd to select multiple
Solution Sorting:
Length Ascending
Length Descending
Speed Descending (if 100 or less expressions)
Speed Ascending (if 100 or less expressions)
Badge Count Descending
Stop at first solution
No bitwise NOTs (~) with count multiple of 2
No parentheses
Start Search
Stop Search
Ready to search
Results