Post

Yuua
Yuua@Yuua1999_888·
@PythonPr Because Python return 012 in “for”,and that end after the python return X.
English
0
0
5
196
Salvo Micciché
Salvo Micciché@salvomic·
@PythonPr the cycle "for" hasn't an else clause, the "end" clause joins the results without spaces, in this case; then Python prints X ignoring the else: so, 012X
English
0
0
3
110
Evil Dead
Evil Dead@EvilDead·
Every family has its demons. Evil Dead Burn only in theaters July 10. Get Tickets Now!
English
135
605
7.5K
11.4M
Brextal
Brextal@RobyDread·
@PythonPr for in range(3) ---> genera valores 1, 2, 3 el bucle recorre los 3 valores print(i, end="")---> imprime cada numero sin salto de linea, por eso se ve 012 seguido else: --> se ejecuta cuando termina el bucle, sin brake, cuando finaliza se ejecuta ("x") por eso es: 012x
Español
0
0
0
142
pablo5425
pablo5425@pablo5425·
@PythonPr first of all why that snake feels like AI?
English
0
0
0
17
شیئر