Ad
  • Default User Avatar

    It also doesn't say anything about having lists. (Python version)

  • Default User Avatar

    Yup, I know what I did to cause it (issue with my code not the kata), (not used to this CW thing).

  • Default User Avatar

    Thanks, I thought it was an issue with the Kata because of how/when it was ocurring...

  • Default User Avatar

    Error with the def (It reports an invalid syntax) - It means I cannot submit my solution

  • Default User Avatar

    When attepting this Kata there is a santax error when importing the random module

    from random import randint
       ^
    santax error
    
  • Default User Avatar

    Couple of things I suggest is to change your variable names for example, instead of n_t a more sutible name for it could be number_of_thousands or Num_thousands this would help the read ablility of your code.

    Anoughter possible change could be to use the digits location and the length of the inputed number (By which I mean the length (len()) of str(178) (which equals "178") is 3 (meaning 3 digts)

    Good luck with making improvements! (also commenting code is a good idea)