Finish the method definition below.
list
is an array of users, each of which is a hash with the keys "user" and "pincode", a string representing the user's pincode. Given list
, the method should return a new array of pincodes of the users in list
.
Non existing pincodes (like nil
) should be ignored.