Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Range in Odoo

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 159
    Comment on it

    The range function specifies a range of integers:
    range(start, stop) - the integers between start (inclusive)
    and stop (exclusive)
    The third value can be accepted by specifying the change between the values.
    range(start, stop, step) - the integers between start (inclusive)
    and stop (exclusive) by step
    For Example you can see below code:

    for x in range(5, 0, -1):
            print x
        print "Blastoff!"
        Output:
        5
        4
        3 
        2
        1
        Blastoff!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: