9
ematorose
● 1 ● 8 ● 23
392/ 445
emato rose πŸ‡ΊπŸ‡ΈπŸ‡ΊπŸ‡¦
Last seen 1 year ago
Member for 9 years, 9 months, 13 days
Difficulty Normal
Learning Python to help with my hobby of classical cryptanalysis. I am an artist, avid gamer and old enough to be somebody's grandmother! :-)

Best reviews / Newest reviews
max-count-bryukh 2
I wish I knew what you knew! I spent hours just trying to get rid of my brackets!!! Let alone the miles of line of code to make it work. I love this site and your, sir, are a great teacher! More
reduce-Sim0000 1 1
I did same after spending long time searching for where "reduce" was hiding! :-) More
Second-gyahun_dash 1 1
I thought about doing it this way but opted for one def. I like this, it is so clear and nice. More
Batteries-ale1ster 1
Forgot you could import as dt -- makes it shorter! Thanks More
First-makoto_yamagata
So short, yet elegant and clear! I will learn from this! Thank you1 More
First-yule
Great comments and I really liked the method. Thanks for posting this - I have learned from it. More
First-veky 1
Your solution is, of course very great! - however, I am wondering if it is ok to change the given info? I mean, of course it is --- but should it be ok? Just curious. I have always been going on that we had to use the was the given info was given. But at any rate, your solution (as usual!) is gre More
First-panaro32 1
Missed using .replace --- went though the whole .split/.join bit ! Thanks for posting! Great code! More
Rule-based-PositronicLlama 1
It was made very complex but I learned a lot from reading your code. Taking the class approach - scary to me - but I understand how you made it work. A good lesson for me.' More
most_numbers-ematorose
Thank you, I will look into it. I'm pretty new to Python and programming in general. Appreciate the suggestions! More
most_numbers-ematorose
I think I understand now: if args: return max(args) - min(args) else: return 0 More
monkey_typing-ematorose 1
Thank you for pointing that out! I only learned the first way - what you showed makes lots of sense. Also I think this follows mypy https://mail.python.org/pipermail/python-ideas/2014-August/028618.html More
First-ForeverYoung 1
I tried doing this with the Counter and I could not get rid of my []s. Good solve! More
First-medreda
Very clear what you are doing. Thanks! More
Second-Nikitka
Ahh! So that's how to use Counter in this case! I couldn't get it to work for me. Glad you published this. More
First-LMAO 1
It is clear and I like your variable names! :-) More
First-bald_ape
You used many of the built-ins and I learned much. Thank you! More
First-jcg
Please explain the areas_fct part? If the order changed, would things mess up? I don't understand and want to. thank you More
straight forward-ematorose
I forgot to change two things before publishing: import - should only be pi, sqrt and for triangle, I wanted to # Heron's formula. More