list=[1,4,9,16,2,5,10,15]
new_list =[]for i inrange(len(list)-1):# print(i, i+1)
new_list.append(list[i]+list[i+1])print(new_list)print([list[i]+list[i+1]for i inrange(len(list)-1)])
import random
import string
alphabet = string.ascii_lowercase
# print(string.ascii_lowercase)# alphabet = 'abcdefghijklmnopqrstuvwxyz'# alphabet = "".join(chr(i) for i in range(0x61, 0x61+26))for i inrange(1,6):id="{:0>6}.{}".format(i,"".join(random.choices(alphabet, k=10)))print(id)