Poker Hand working but looking for suggestions to improve | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Poker Hand working but looking for suggestions to improve

I got the code working after many hours, but would be greatful to hear suggestions on how to improve it or slim it down. https://code.sololearn.com/cJAod33ELh28/?ref=app

15th Jun 2021, 4:19 AM
Markus Gebhard
Markus Gebhard - avatar
1 ответ
0
I rewrote it my way but keeping your logic, then I counted the relevant standard lines. It was 25 lines shorter (100: 85) for comparison https://code.sololearn.com/cu49kCiUB53N/?ref=app
18th Jun 2021, 10:03 AM
zemiak