Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    most likely, there is an error in the compatibility of numpy and decimal. they give different answers. I'll try to come up with something, but for now I can only advise not to use numpy in solving this kata

  • Custom User Avatar

    Hello. No, it's a bug. I didn't think through that someone would use numpy. Thanks for the information, I will try to fix the problem in the near time

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Fixed. Thanks

  • Custom User Avatar

    I could write in my native language, but it would be even more difficult to understand. I apologize for the crooked translation :)

  • Custom User Avatar
    1. pentagrams in our context are a symbol for invocation, and it can have more than 5 corners. 50 is the minimum strength of the pentagram. why is this so? so one of the summoned demons whispered to me. this is not a detail that you need to puzzle over. it is difficult to explain noc and a_noc due to the difficulty of translation.
    2. thanks. will be fixed
    3. fixed
    4. thanks. will be fixed
  • Custom User Avatar
  • Custom User Avatar

    hello. most likely broke down at the last change. thanks

  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    The description goes sequentially and describes each stage of the solution. What exactly did you not like here?the noc is calculated the same way. You probably didn't understand the meaning of the task. Fixed the pentagram

  • Custom User Avatar

    I have not received any additional comments on the corrected situation. fixed

  • Custom User Avatar

    I understand the meaning of the word, but the pentagram also implies, in our context, a ritual sign

    set validation by the exact value

  • Custom User Avatar

    "pentagram: Number of corners of the pentagramma - Can a pentagram have any other amount of corners than 5? :)" - Yes. Below is an example of how this is calculated. it says there can be more than 5 of them
    "print(Decimal(0.1) == Decimal('0.1')) prints False" - Do you suggest wrapping float in a string?
    "As a follow-up, assert_approx_equals should not be used (usually) with decimals. assert_approx_equals should be used for potentially imprecise data types, like float." - I use it for decimal due to the fact that decimal may have a slight deviation with late conversion to this data type

    I'll try to reformulate the sentence

    If this answers your questions, I will leave the right to close the issue on you. If not, I'd like to know more about what you wanted

  • Loading more items...