0
Array python
Can somebody explain below code In :- a=[2,4,5] For i in range(1,3): a[i] = a[i-1] Print(a[i], end = ") Out:- 22
8 Respostas
+ 2
Munir Ahmed Yakin It makes not go to the next stroke. Example:
print("A")
print("B)
Result:
A
B
print("A", end="")
print("B", end="")
Result:
AB
+ 1
Unfortunately i can't explain it, but what is the idea of making for loop with one repeat? Where you got this code?
0
In one of the challenge in sololearn python
😔
0
Why you are answering not completely? Drop the link to the challenge. Maybe it helps.
0
My mistake with the loop for arguments 😢
0
~ swim ~ What does ,end ='' does in print?