79148260

Date: 2024-11-01 14:04:34
Score: 1.5
Natty:
Report link

What about this one:

def some_function(freq=None, frac=None):
    if (freq is None) is (frac is None):
        raise ValueError("one and only one of parameters should be provided")

    ...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Anton Chivkunov