• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

how this python shap merge together?

https://code.sololearn.com/cjkDuJH5jUnF/?ref=app

python
3rd Jul 2021, 9:40 PM
Adel
Adel - avatar
2 Respuestas
+ 1
x = 10 m = x*2+1 print(*(("*"*((x-abs(i))*2+1)).center(m) for i in range(-x,x+1)),sep="\n")
3rd Jul 2021, 10:38 PM
visph
visph - avatar
0
thanks
4th Jul 2021, 4:32 PM
Adel
Adel - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How do we code calculator
2 Votes
What programming language should i learn to make applications or games?
0 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
Pressure and tension
2 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Where is code bit
0 Votes