You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'''
#lambda #1 ESEP
lst = list(range(0, 11, 2))
print(list(map(lambda x: x**2, lst))) #2 ESEP
import random
lst = [random.randint(1, 15) for i in range(5)]
print(lst)
print(list(filter(lambda x: x%2 == 0, lst))) #3 ESEP
students = [("Ardak", 27), ("Bekarys", 23), ("Aliya", 3)]
sorted_s = sorted(students, key = lambda x:x[1])
print(sorted_s)
FILE
Traceback
Traceback (most recent call last):
File "C:\Users\admin\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 330, in _check_updates_readyself.application_update_status.start_installation(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AttributeError: 'NoneType' object has no attribute 'start_installation'
Description
What steps will reproduce the problem?
Very good
#RECUR
#1 ESEP
'''
def NOD(a, b):
'''
#lambda
#1 ESEP
lst = list(range(0, 11, 2))
print(list(map(lambda x: x**2, lst)))
#2 ESEP
import random
lst = [random.randint(1, 15) for i in range(5)]
print(lst)
print(list(filter(lambda x: x%2 == 0, lst)))
#3 ESEP
students = [("Ardak", 27), ("Bekarys", 23), ("Aliya", 3)]
sorted_s = sorted(students, key = lambda x:x[1])
print(sorted_s)
FILE
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: