Python For Schleife (vorwärts / rückwärts)
#!/usr/bin/python value = -1 Stepcount = 4 for value in range (0,Stepcount): print value print #range(100,-1,-1) for value in range (Stepcount-1,-1,-1): print value
#!/usr/bin/python value = -1 Stepcount = 4 for value in range (0,Stepcount): print value print #range(100,-1,-1) for value in range (Stepcount-1,-1,-1): print value