Skip to content

Instantly share code, notes, and snippets.

@Luxter77
Created March 26, 2026 08:39
Show Gist options
  • Select an option

  • Save Luxter77/d7eff19a2c5fef969e2f5185a57c19e6 to your computer and use it in GitHub Desktop.

Select an option

Save Luxter77/d7eff19a2c5fef969e2f5185a57c19e6 to your computer and use it in GitHub Desktop.
why
while globals().get("c", True): print((lambda F: F[F[8][7]](F[F[8][4]])[F[F[8][6]](F[F[8][3]](F[F[8][2]], F[F[8][1]]))](F[F[8][5]](F[F[8][3]], F[F[8][0]])))([(lambda j: [(lambda f: j + str((x := f())[0] + x[1])), (lambda f: j + str((x := f())[0] - x[1])), (lambda f: j + str((x := f())[0] * x[1])), (lambda f: ("Math: can't divide by zero"if (x := f())[1] == 0else (j + str((x[0] / x[1]))))), (lambda f: j + str((x := f())[0] ** x[1])), (lambda f: ("Math: there is no zero'th root"if (x := f())[1] == 0else (j + str((x[0] ** (1 / x[1])))))), (lambda _: globals().update({"c": False}) or "Ending Program")]), (lambda i: max(-1, min(i, 6))), (lambda f, t: (lambda: ((f("First Number: ", t) or "6"), (f("Second Number: ", t) or "6")))), "The result is: ", (lambda q, t: t(input(q))), "calc:\n\t0: sum\n\t1: sub\n\t2: mult\n\t3: div\n\t4: pow\n\t5: root\n\t6: end program\nop: ", int, float, [7, 6, 5, 4, 3, 2, 1, 0]]))
@Luxter77
Copy link
Copy Markdown
Author

why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment