+ 2
if i wanted it to print 1000 times
Whqt would i write ? Heehee
4 odpowiedzi
+ 9
for(let i=0; i<1000; i++) { console.log("1000 times"); }
+ 4
print("1000 times")
😂😂😂😂😂
Just kidding
r8w9 answered in js
in python
for i on range(1000):
print("what")
But you should know this.
https://www.sololearn.com/learn/Python/2435/
+ 2
Revising r8w9 and backing Roneel[Inactive Totally] .
When talking about printing repetition, you can type 1000 times print or you can do loop printing.
The main problem is what we print?
There are usually 2 types that we print, "Words & number" .
You can check my code that print 1000 times there are while loop, for loop, number loop and infinte loop.
https://code.sololearn.com/cmqNDtb3NTTd/?ref=app
https://code.sololearn.com/c96l6xi2kr6T/?ref=app
https://code.sololearn.com/c65o3THp8pwr/?ref=app
https://code.sololearn.com/cgnbP6vAmJzg/?ref=app
https://code.sololearn.com/cp9sPKDai10u/?ref=app
+ 1
In python, you could do
print("lol"*1000)