15
Last seen 7 years ago
Member for 8 years, 1 month, 27 days
Difficulty Normal
I think it's clear but seems has lots of ways to optimize...
Is there anyway to avoid the last for-loop?
More
One line is hard to read. But it helps for me to find that I use lot of useless if-test.
More
Use a dict by tuple of True and False as a key is quite interesting.
Learn it now.
More
>>> "{0:08b}".format(int('0'))
'00000000'
>>> "{0:08b}".format(int('255'))
'11111111'
wow, now i know why to learn format. Thx
More
Great, it's also concise enough, but could you give some explanation to help me to understand?
It's hard for me to know how to determine the weekday by zeller. Thank you.
More
Great.When I solved the problem I guess there would be one just use a formula.
More