79551201

Date: 2025-04-02 17:31:41
Score: 0.5
Natty:
Report link

not sure if what worked for me is a good practice, but I needed a conditional lambda, which worked this way:

lambda: (variable_a='A', variable_b='B') if variable_a=='Not A' else (variable_a='Not A', variable_b='Not B')
Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bogdan Korecki