import random
bombID = sorted(random.sample(range(0, 25), 5))
for y in range(5):
markup = []
for x in range(5):
idx = y * 5 + x
if bombID[y] == idx:
markup.append(f'bomb{idx}')
else:
markup.append(str(idx))
print(markup)
import random
bombID = sorted(random.sample(range(0, 25), 5))
for y in range(5):
markup = []
for x in range(5):
idx = y * 5 + x
if idx in bombID:
markup.append(f'bomb{idx}')
else:
markup.append(str(idx))
print(markup)