Español
Abrir en Telegram

Hilo /code

2 mensajes · –
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
ССообщество Python ПрограммистовСообщество Python Программистов@python_scripts · grupo · Tecnología
4 169miembros44escriben en 30 días
Feed de la comunidad Abrir en Telegram

Un feed público abierto del índice de búsqueda ChatCrawler — el “Google del Telegram público”; se actualiza a medida que se rastrea la comunidad. Las horas se muestran en UTC.

Solo contenido público, API oficial de Telegram. Acerca de · Preguntas frecuentes · Límites del índice · Eliminar una página · Catálogo · Búsqueda · Cómo contamos