list comprehension failing in python version 3.8.19 and above
Below is my code when i compile it with python version 3.8.18 it works fine with no exception but when the code is compiled with 3.8.19 it throws UnboundLocalError: local variable ‘hard_dn’ referenced before assignment it is throwing