Português
Abrir no Telegram
ССообщество Python Программистов

Сообщество Python Программистов

✅ Confiança alta
@python_scripts · grupo · Tecnologia · indexada desde 24/05/2026
4 169membros
44escrevendo em 30 dias
485mensagens em 30 dias
904 487mensagens no índice
A
ююэ эдэпмдэдю/Х
V
Снова кодировка слетела в чате?
L
любители пошифровать сообщения в кастомных клиентах видимо, давно такого не видел
V
/code SMALL = 10 BIG = 100 def big_inner(): iterations = 0 for s in range(SMALL): iterations += 1 for b in range(BIG): iterations += 1 return iterations def big_outer(): iterations = 0 for b in range(BIG): iterations += 1 for s in range(SMALL): iterations += 1 return iterations print(f"Iterations: {big_inner()=} {big_outer()=}")
  1. P
    Status: Succeeded Exit code: 0 Execution time: 1.8s Code SMALL = 10 BIG = 100 def big_inner(): iterations = 0 for s in range(SMALL): iterations += 1 for b in range(BIG): iterations += 1 return iterations def big_outer(): iterations = 0 for b in range(BIG): iterations += 1 for s in range(SMALL): iterations += 1 return iterations print(f"Iterations: {big_inner()=} {big_outer()=}") Result Iterations: big_inner()=1010 big_outer()=1100
Tópico inteiro · 1 resposta →
V
Помучаю ваши мозги сегодня
    1. 🍉
      А, в этом и смысл, я понял. Ладно, помучал)
Tópico inteiro · 2 respostas →
  1. P
    Status: Succeeded Exit code: 0 Execution time: 1.8s Code def inner_outer(x, y): return x*y + x SMALL = 10 BIG = 100 print(f'Iterations: big_inner()={inner_outer(SMALL, BIG)} big_outer()={inner_outer(BIG, SMALL)}') Result Iterations: big_inner()=1010 big_outer()=1100
Tópico inteiro · 1 resposta →
  1. V
    Ну в целом да, циклы можно было и не гонять
Tópico inteiro · 1 resposta →
V
Правда с этой хуиты я в осадок выпал 🤔 f"big_inner()={inner_outer(SMALL, BIG)}"

Um feed público aberto do índice de busca ChatCrawler — “o Google do Telegram público”; atualizado à medida que a comunidade é rastreada. Horários em UTC.

Somente conteúdo público, API oficial do Telegram. Sobre · Perguntas frequentes · Limites do índice · Remover uma página · Catálogo · Busca · Como calculamos