Exercise 4
Write a program in Python language that displays the first 100 integers
Solution:
for i in range(0,101):
print(i)
""" this will display at execution the first 100 numbers :
0
1
2
.
.
.
100
"""
Younes Derfoufi
Python Courses & Exercises with solutions !
Write a program in Python language that displays the first 100 integers
for i in range(0,101):
print(i)
""" this will display at execution the first 100 numbers :
0
1
2
.
.
.
100
"""
You must be logged in to post a comment.
[…] Exercise 4 || Solution […]