Print the basic numbers below 100 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Print the basic numbers below 100

It's python. please give me the solution please

28th Aug 2019, 3:38 PM
Pro Gamer
5 Answers
+ 1
for i in range(0, 100): print(i)
28th Aug 2019, 3:42 PM
Bruce Pouncey
Bruce Pouncey - avatar
+ 1
for i in range(100): print(i)
28th Aug 2019, 3:43 PM
Cat Sauce
Cat Sauce - avatar
+ 1
why while loops tho, i think for loops are better :)
28th Aug 2019, 6:02 PM
Cat Sauce
Cat Sauce - avatar
0
Fuzzy Squid if you doing c++ why not use a for loop? for(int i = 1; i < 100; i++){ cout << i << endl; }
28th Aug 2019, 4:06 PM
Cat Sauce
Cat Sauce - avatar
0
Thank u allll😺😺😺
28th Aug 2019, 4:21 PM
Pro Gamer