Python function

I am learning to use python in Dynamo and can’t seem to get this to work. My goal is to create a simple function in python to manipulate lists of numbers. Can someone help? Thanks,

No indentation in your function. Python uses indents to define blocks of code

p1 = IN[0]
p2 = IN[1]

def add(w, e):
	lo = w+e
	return lo

jk = add(p1, p2)

OUT = jk
2 Likes