import RPi.GPIO as gpio
import time
gpio.setmode(gpio.BCM)
gpio.setup(17,gpio.OUT)
gpio.setup(4,gpio.OUT)
gpio.setup(22,gpio.OUT)
gpio.setup(18,gpio.OUT)
gpio.setup(23,gpio.OUT)
gpio.setup(24,gpio.OUT)
gpio.setup(25,gpio.OUT)
while True:
    gpio.output(17,gpio.LOW)
    gpio.output(22,gpio.HIGH)
    time. sleep(1)
    gpio.output(22,gpio.LOW)
    gpio.output(4,gpio.HIGH)
    time.sleep(1)
    gpio.output(4,gpio.LOW)
    gpio.output(18,gpio.HIGH)
    time.sleep(1)
    gpio.output(18,gpio.LOW)
    gpio.output(17,gpio.HIGH)
    time.sleep(1)
    gpio.output(25,gpio.LOW)
    gpio.output(23,gpio.HIGH)
    time.sleep(1)
    gpio.output(17,gpio.LOW)
    gpio.output(22,gpio.HIGH)
    time. sleep(1)
    gpio.output(22,gpio.LOW)
    gpio.output(4,gpio.HIGH)
    time.sleep(1)
    gpio.output(4,gpio.LOW)
    gpio.output(18,gpio.HIGH)
    time.sleep(1)
    gpio.output(18,gpio.LOW)
    gpio.output(17,gpio.HIGH)
    time.sleep(1)
    gpio.output(23,gpio.LOW)
    gpio.output(24,gpio.HIGH)
    time.sleep(1)
    gpio.output(17,gpio.LOW)
    gpio.output(22,gpio.HIGH)
    time. sleep(1)
    gpio.output(22,gpio.LOW)
    gpio.output(4,gpio.HIGH)
    time.sleep(1)
    gpio.output(4,gpio.LOW)
    gpio.output(18,gpio.HIGH)
    time.sleep(1)
    gpio.output(18,gpio.LOW)
    gpio.output(17,gpio.HIGH)
    time.sleep(1)
    gpio.output(24,gpio.LOW)
    gpio.output(25,gpio.HIGH)
    time.sleep(1)

@@ -29,16 +29,22 @@
 rt time%0A
+x = 0%0A
 gpio.set
@@ -235,12 +235,12 @@
 ile 
-True
+x%3C 5
 :%0A  
@@ -1369,28 +1369,39 @@
 pio.HIGH)%0A    time.sleep(1)%0A
+    x += 1%0A

change is good