Ruby Remove Value From Array Python Example Codes