+ 1

Print the basic numbers below 100

It's python. please give me the solution please

28th Aug 2019, 3:38 PM
Pro Gamer
7 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