Latest activity

  • fukurou
    fukurou replied to the thread 👨‍💻 dev automata.
    from typing import Callable, Any operations: dict[int, Callable[..., Any]] = {}
  • fukurou
    fukurou replied to the thread 👨‍💻 dev automata.
    from functools import partial class Calculator: def add(self, a, b): return a + b def sub(self, a, b)...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev automata.
    class Calculator: def add(self, a, b): return a + b def sub(self, a, b): return a - b calc = Calculator()...
  • fukurou
    def greet(): print("Hello!") def farewell(): print("Goodbye!") def add(a, b): print(a + b) # Dictionary mapping int →...
Top