What Language is This?

Posted by bobber205 on Stack Overflow See other posts from Stack Overflow or by bobber205
Published on 2010-06-18T03:05:48Z Indexed on 2010/06/18 3:13 UTC
Read the original article Hit count: 360

Filed under:

Going through some example code sent to me and honestly, I have no idea what language this is

def uniqify(arr):
     b = {}
     for i in arr:
         b[i] = 1
     return b.keys()

Is it Python?

I am also curious what keys() does. It's obvious it returns an array but what does it do the array that calls the function? :P

© Stack Overflow or respective owner

Related posts about python