Ad
  • Custom User Avatar

    This only works in python2. Also, it's difficult to understand what is going on immediately. This is fine code for codewars or leetcode or something, but it's not code you'd want to have in a production code base.