Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)GE
Posts
0
Comments
168
Joined
2 yr. ago
  • How is that checker configured?

    It might be doing something like this:

     undefined
        
    import student_module
    student_module.main()
    
      

    and because you're already invoking main as the module is imported, it's getting stuck the second time around. Maybe add some indicative print at the entrypoint to your main function.

    Another reply in here has supplied the standard idiom for making a module executable:

     undefined
        
    if __name__ == "__main__":
      main()
    
      
  • According to Baroness Falkner on R4 this morning, they can use their considerable lobbying power to advocate for "third spaces." She actually said that about trans people, not intersex, but I presume her response would have been the same.

    But in the meantime, going anywhere (or doing any sport) is probably off the cards. But thank goodness we have "clarity", right?

  • "Since we are talking about aggregating documents into an index, the word semigroup might pop into our heads."

    This is why Haskell tutorials have a bad rep. Why not use a common English term like "monoid" instead?

    Snark aside, the <> approach to solving the problem piecewise and aggregating the results into a larger instance of the same type is a really convenient approach.