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
Gopuff
Gopuff@gopuff·
Our delivery comes with a genius. Go learns what you like, builds your cart in seconds, and gets it all to your door in as fast as 15 minutes.
English
1
3
158
1.2M
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
공유