Files
KI/P1/utils.py
2025-05-12 12:59:24 +02:00

3 lines
76 B
Python

def getNode(name, l):
return next((i for i in l if i.name == name), -1)