CompSci Blogs

August 2023 to June 2024

View the Project on GitHub sfremy/csablog

30 October 2023

JS Testing Space

by

%%js

//For loop with extractable iterative i which increases by 1 each time
/*
Python equivalent:
for i in range(5):
    print(i)

*/

for (let i = 0; i < 5; i++){
    console.log(i)
}
<IPython.core.display.Javascript object>

tags: