БГ
Size: a a a
БГ
R3
ПЯ
ПЯ
ПЯ
R3
ПЯ
R3
R3
Return first index of value
ПЯ
ПЯ
R3
R3
VA
Python3
print([1,2,1,2,1,2,1].index(1))
print([1,2,1,2,1,2,1].index(1))
print([1,2,1,2,1,2,1].index(1))
0
0
0
ПЯ
VA
R3
R3
VA
БГ
apt_list = []
apt_list.append(subprocess.check_output(['apt', 'list']))
if 'xfce4-terminal' in apt_list:
i = 0
while i != terminals:
subprocess.call(['xfce4-terminal', '--command\\', 'python3\\', 'Bomber.py\\', '-n\\', number, '\\-s\\', sleep])
i += 1