Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
oh thank you i could not understand where is the problem now i solved it , thank you dear!
i got this error when list is empty or there is one number in list,so i tried to fix it with if lst == [] or len(lst) ==1 return 0 but it doesnt return 0 ,though in pycharm it returns 0,here i got this error,dont know how to fix can anyone help?
Traceback (most recent call last):
File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper
func()
File "/workspace/default/tests.py", line 47, in _
test_split_list([], 0)
File "/workspace/default/tests.py", line 9, in test_split_list
a, b = split_list(xs[:])
^^^^
TypeError: cannot unpack non-iterable int object
i can not understand it says:
A pangram is a sentence that contains every single letter of the alphabet at least once. For example, the sentence "The quick brown fox jumps over the lazy dog" is a pangram.
So in this sentence the letter 'h' is int the first word 'The' and in the 7th word also 'the lazy' The and the , h and e used two times why is this sentence a pangram?