21
Muhammad Khan
Last seen 1 year ago
Member for 6 years, 5 months, 7 days
Difficulty Normal
Programming and History enthusiast
Great Work!
You could also have used `datetime.fromisoformat` instead of specifying the format through `strptime`.
More
Optimized version is right here: https://py.checkio.org/mission/the-vampires/publications/MBM_1607/python-3/second/
More
`max(dt1str, dt2str)` is all you actually need for this. This is because the ISO format dates are in [lexicographic order](https://en.wikipedia.org/wiki/Lexicographic_order).
More
[Original author's solution](https://py.checkio.org/mission/graphical-key/publications/Dmitrij_Protopopov/python-3/graphical-key/?ordering=most_voted&filtering=all)
More
Fixed solution here : https://py.checkio.org/mission/card-game/publications/MBM_1607/python-3/simplified/
More
Inspired by przemyslaw.daniel's [recursive 12 liner solution](https://py.checkio.org/mission/the-buttons/publications/przemyslaw.daniel/python-3/12-liner-recursive/)
More