ответ: python
1)
mmm = ['web', '45', 'dad', '5', '79', 'bob', 'five', '23', '9']
s = []
c = []
for i in range(len(mmm)):
item = mmm[i]
try:
item = int(item)
c.append(item)
except:
s.append(item)
print('числа:', c)
print('Строки:', s)
2) Вроде верно
n = int(input())
a = [0]*n
for i in range(len(a)):
a[i] = int(input())
a.sort()
s = 0
for i in range(3):
s += a[i]
print(s)
ответ: python
1)
mmm = ['web', '45', 'dad', '5', '79', 'bob', 'five', '23', '9']
s = []
c = []
for i in range(len(mmm)):
item = mmm[i]
try:
item = int(item)
c.append(item)
except:
s.append(item)
print('числа:', c)
print('Строки:', s)
2) Вроде верно
n = int(input())
a = [0]*n
for i in range(len(a)):
a[i] = int(input())
a.sort()
s = 0
for i in range(3):
s += a[i]
print(s)