13 lines
206 B
Python
13 lines
206 B
Python
from django.test import TestCase
|
|
|
|
# Create your tests here.
|
|
aa = [1,2,3,4,5,6,7,8]
|
|
bb = ""
|
|
for i in range(len(aa) - 1):
|
|
if i == 0:
|
|
bb = str(aa[i])
|
|
bb = bb + "|" + str(aa[i + 1])
|
|
|
|
print(bb)
|
|
|