numeros = [-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15]

positivos = []

for numero in numeros:
    positivos.append(numero * -1)

print("Lista original:", numeros)
print("Lista en positivo:", positivos)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: