Correct me if I'm wrong... I think apex snippet is not exactly python. Each function has a corresponding apex node. You would need vector3ToFloat node to split a vector, thus you'll need to use vector3ToFloat() in snippet.
That's just what i needed NMVHS! And yeah, i know APEX script is not exactly python, that's why i said "python like". What threw me off though was the "x, y, z =" syntax. Mmmm, i see destructuring. I'm rather new to python but I'm familiar with this from javascript, which was only added fairly recently. I'll keep this in mind when faced with similar issues.