select what to include in the new list : Range : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Range »

 

select what to include in the new list


sqdEvens = [x ** for x in range(8if not x % 2]
for i in sqdEvens:
    print i



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Range