79606629

Date: 2025-05-05 09:16:57
Score: 1.5
Natty:
Report link

Use nested loops:

z = []
index = 0

for item in x:
    while z.count(item) < y[index]:
        z.append(item)
    index += 1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mortezaEkra