Русский
Открыть в Telegram

Постprint(sum(int(i) for i in input().split() if int(i)<0))

19 января 2025
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
print(sum(int(i) for i in input().split() if int(i)<0)) #sumofnegativenumbers
1.1K ·

Рядом в ленте

DDeloitte | COGNIZANT | IBM | CAPGEMINIdef solve(s): for i in range(1, len(s)): s1, s2 = s[:i], s[i:] if s1.count('a') == len(s1) and s2.count('b') == len(s2): return True return False n=int(input())DDeloitte | COGNIZANT | IBM | CAPGEMINIn=int(input()) arr=[int(i) for i in input().split()] p=[i for i in arr if i>0] mid=len(p)//2 if mid%2==0:print(p[mid-1]) else:print(p[mid]) #positviemidindex
это сообщение
DDeloitte | COGNIZANT | IBM | CAPGEMINIx,y,z=map(int,input().split()) print(sum(sorted([x,y,z])[1:])) #sum_of_maximum_two_numbersDDeloitte | COGNIZANT | IBM | CAPGEMINIWipro 12 pm ✅✅
DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte | COGNIZANT | IBM | CAPGEMINI@python_java_Coding · канал · Технологии
7 178подписчиков451средний охват поста
Лента площадки Открыть в Telegram

Открытая публичная лента из поискового индекса ChatCrawler — «Google по публичному Telegram»; обновляется по мере обхода площадки. Время — UTC.

Только публичный контент, официальный API Telegram. О проекте · Вопросы · Границы индекса · Убрать страницу из выдачи · Каталог · Поиск · Как мы считаем