3 ms·
why do the examples they provide always seem like they're written by someone that has no absolutely no understanding of $LANGUAGE whatsoever? to reverse x in p
by blibble 3y ago
why do the examples they provide always seem like they're written by someone that has no absolutely no understanding of $LANGUAGE whatsoever?
to reverse x in python you use x[::-1], not a 5 line function
boilerplate generator
- maest 3y agoOr `reversed(x)`. Or `x.reverse()`. > There should be one-- and preferably only one --obvious way to do it.