Python
2
Вклад в тег
# coding=UTF-8
spisok_st = [
"become",
"становиться",
"begin" ,
"начинать",
"blow" ,
"дуть",
"bring" ,
"приносить"
]
spisok_out=[]
for i in range(0,len(spisok_st),2):
spisok_out.append("0")
spisok_out.append(spisok_st[i])
spisok_out.append(spisok_st[i+1])
spisok_out.append("2022-02-03 22:00")
print(spisok_out)
import random
string = ''.join(random.choice('01234567890abcdef') for _ in range(64))
position = 0
while True:
pre=string
position = random.randint(0, 63)
new_character = random.choice('01234567890abcdef')
string = string[:position] + new_character + string[position+1:]
if string==pre:
continue
else:
print(string)