Does this tale represent a function?

x y
0 1
1 2
2 3
3 3

yes, of course. for each x, there is one and only one y.