Python 1 liner for #48