• 152 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: July 8th, 2023

help-circle













  • Sjmarf@sh.itjust.worksOPtoProgrammer Humor@programming.devSus
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    not() is a base function that negates what’s inside (turning True to False and vice versa) giving it no parameter returns “True” (because no parameter counts as False)

    Actually, not is an operator. It makes more sense if you write not() as not () - the () is an empty tuple. An empty tuple is falsy in Python, so not () evaluates to True.




















  • Sjmarf@sh.itjust.worksOPtoMemes@lemmy.mlLol
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Not sure; I’ve wondered that before too. If I had to guess I’d say people just keep naming future kings after previously liked kings - the first few king Louis weren’t all that popular, but later on there were some popular ones (Louis IX was named a saint, for instance, which may have boosted it).

    16 is certainly a lot of kings to have the same name. I believe there’s 20-something Pope Johns, if I recall correctly