Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

even numbers from 1 to 100 in python

# Python program to print Even Numbers in given range
  
start, end = 1, 100
  
# iterating each number in list
for num in range(start, end + 1):
      
    # checking condition
    if num % 2 == 0:
        print(num, end = " ")
Source by www.etutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #numbers #python
ADD COMMENT
Topic
Name
9+4 =