+ 1
A Challenge about integers and empty lists
I just found the ABSOLUTE MOST pythonic way to turn ANY integer input into a geniously crafted empty list of length 0. The empty list will be of such craftmanship that all other empty lists will feel very empty inside out of mere jelousy. Noone has ever found a better solution to this very often occuring problem. Its debated whether that problem is NP-hard or rather NP-AU (ABSOLUTELY UNSOLVABLE). Therefore I challenge YOU to now come up with an even MORE ABSOLUTE MOST pythonic piece of code, that will solve this VERY HARD problem with EVEN MORE grace. Have fun https://code.sololearn.com/cnrns2IRNV02/?ref=app
8 Respuestas
+ 6
An empty list is an empty list, it can't be "emptier" than that.
https://www.sololearn.com/Discuss/1270852/?ref=app
+ 5
Is this a joke?
+ 3
Steve considering that I literally have the Tag "donttaketoseriously" I assumed that would be obvious.
But yes, I don't actually think that lists could be jealous, I'm well aware, that there is no thing as "NP-AU" and I also realize, that something can't be *more* absolute most of a property, as absolute most is already stretching the superlative to a critical extend.
+ 3
Fynn Nix Wow! I totally missed the tag. Embarrassing 😳
+ 2
Steve 😂 nah, it's fine. I think it's rather funny than embarrassing xD
+ 1
empty = int([])
+ 1
empty = []
+ 1
empty = {}