СК
ImportError: DLL load failed while importing _openssl: module could not be foundне пробовал, не?
Size: a a a
СК
ImportError: DLL load failed while importing _openssl: module could not be foundn
A
СК
A
СК
>>> f = filter(lambda x: ~-2 ** x % x < 2, range(2,101))
>>> list(f)
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
>>>
СК
__next__ не обязателен если нужен итерируемый объектclass IterMe:
def __getitem__(self,index):
return index
A
СК
A
СК
A
>>> f = filter(lambda x: ~-2 ** x % x < 2, range(2,101))
>>> list(f)
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
>>>
NK
A
SC
sh
J
J
SC
П