Assigning Consecutive Values : range : Buildin Function : Python examples (example source code) Organized by topic

C++
PHP
Python


Python  »  Buildin Function   » [  range  ]  Screenshots 
 



Assigning Consecutive Values





print range(7)                                                                    

(MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY= range(7

print MONDAY                                                                      

print TUESDAY 

print SUNDAY 
           
       
Related examples in the same category
1.  Demonstrates the range() function Demonstrates the range() function
2.  range() function with step range() function with step
3.  Demonstrates the range() function with negative step
4.  range() Function range() Function
5.  Demo the range function Demo the range function
6.  range function with steps range function with steps
7.  range with step range with step
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.