NoneType object is not subscriptable

后端 未结 1 1603
小蘑菇
小蘑菇 2021-01-29 09:03

I am working on a seven-segment display project on Learnstreet. One of the required methods takes the input obtained from a text box which is labelled \"inputString\". Input Str

相关标签:
1条回答
  • 2021-01-29 09:48

    One of the other requirements is to return something. Since your function returns nothing, None is implicitly returned, and this causes the test scaffolding to fail. Perhaps you should return a list containing the return values of each invocation of illuminate().

    0 讨论(0)
提交回复
热议问题