Thread: Four loops

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    australia
    Posts
    16
    Rep Power
    0

    Thumbs up Four loops


    Hey ppl'z
    i need to know how to do a four loop
    and the difference between a normal loop and a four loop
    i already know how to do a normal loop
    Any help is apreciated
    thnx
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    89
    Rep Power
    13
    what exactly do you mean by four loop? do you want to loop something four time? or are you talking about a For loop?

    if you want to loop something four times, you can do it several ways, including this:

    Code:
    for x in range(4):
       print "hello"
    that will print "hello" 4 times

    if you want to know how to use the For loop, you can look at the above example and figure it out.

IMN logo majestic logo threadwatch logo seochat tools logo