1def no_it_isnt(argument):
2 return [type(arg)(str((arg + (-2*arg) + (isinstance(arg, bool) or type(arg)())) or '')[::(-1)**isinstance(arg, str)] or 0*arg) for arg in argument][::-1]
.....
----------------------------------------------------------------------
Ran 5 tests in 0.000s
OK
f | 1 | def no_it_isnt(argument): | f | 1 | def no_it_isnt(argument): |
t | 2 | return [type(arg)(str((arg + (-2*arg) + (isinstance(arg, bool) or type(arg)())) or '')[::(-1)**isinstance(arg, str)] or 0) for arg in argument][::-1] | t | 2 | return [type(arg)(str((arg + (-2*arg) + (isinstance(arg, bool) or type(arg)())) or '')[::(-1)**isinstance(arg, str)] or 0*arg) for arg in argument][::-1] |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|
f | 1 | def no_it_isnt(argument): | f | 1 | def no_it_isnt(argument): |
t | 2 | return [type(arg)( | t | 2 | return [type(arg)(str((arg + (-2*arg) + (isinstance(arg, bool) or type(arg)())) or '')[::(-1)**isinstance(arg, str)] or 0) for arg in argument][::-1] |
3 | str(arg + (-2*arg) + (isinstance(arg, bool) or type(arg)(arg*0)))[::(-1)**isinstance(arg, str)] | ||||
4 | ) for arg in argument][::-1] |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|