New course! Every coder should learn Generative AI!
Try a free lesson3 Answers
+ 1
in javascript :
for(i=0;i<arr.length;i++){
result += arr[i];
}
+ 1
bro thats good but i dont know how would i do the same thing with python..
0
you can do it this way:
i = ""
while i < arr.length:
result += arr[i]
i++