16
heinrich.rhing
5 13 30
1279/ 1445
Heinrich Rhing
Last seen 1 year ago
Member for 7 years, 11 months, 2 days
Difficulty Normal
Best reviews / Newest reviews
Using if-H0r4c3 1 1
Instead of "if ...: if ...:" you may write "if ... and ...:" and an empty list is always False - so you can write "if 'POP' in item and my_stack:". More
First-sakshirs1234
it's shorter if you write len(str(a)) ;) More
First-m.kurapov
"if len(stack)>0" is the same as "if stack" More
First-LadyDarkness
If you use the function max() you can do it simpler and with less code. More
First-yuyanQ 1
You can build a list without using append if you write liste = [int(n) for n in str(number)] More
First-Coyot
nice - it's the same as my solution *bg* More
Conversion-frankiser 1
Interesting, I thought lambda needs the keyword, but you show me, that it's not required. More