mariatta, You can do this with f-strings expressions and the debug mode:
>>> some_value = None
>>> f"{some_value is None=}"
'some_value is None=True'>>> some_number = 100
>>> f"{some_number > 50=}"
'some_number > 50=True'Learn more about f-strings and debugging with it by watching my #PyOhio short talk here: https://youtu.be/SNA2O0NQl_Q