• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
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 odpowiedzi
+ 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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Necesitó ayuda
1 Votes
can't understand an error
0 Votes
Table tags on html
0 Votes