Exercise 4
Write a program in Python that displays the first 100 integers
Solution
|
1 2 3 4 5 6 7 8 9 10 11 |
# iterate through the first 100 numbers using the for loop for i in range(1,101): print(i) """ after execution the program displays the first 100 numbers: 1 2 . . . 100 """ |
Younes Derfoufi
CRMEF OUJDA
![[App intégrée] 2025 Upgraded Vidéoprojecteur 1920 * 1080P FHD 4K Mini Projecteur Portable Dual Contrôle avec Souris Android TV WiFi 6 BT5.2 180° Rotation Compatible avec HDMI/TV Stick/USB](https://www.tresfacile.net/wp-content/uploads/2025/12/Videoprojecteur-1920-1080P-FHD-4K-Mini-Projecteur-Portable-Dual-Control-250x236.png)


1 thought on “Solution Exercise 4: display of the first 100 numbers in python”