+ 2

if i wanted it to print 1000 times

Whqt would i write ? Heehee

18th Nov 2018, 9:34 PM
Freakin KAT
Freakin KAT - avatar
4 ответов
+ 9
for(let i=0; i<1000; i++) { console.log("1000 times"); }
18th Nov 2018, 9:41 PM
r8w9
r8w9 - avatar
+ 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/
18th Nov 2018, 9:44 PM
Roneel
Roneel - avatar
+ 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
3rd Dec 2018, 3:08 PM
Benny Kosasih
Benny Kosasih - avatar
+ 1
In python, you could do print("lol"*1000)
16th Mar 2019, 7:45 PM
inxanedev!
inxanedev! - avatar