⊗pyPmIBMA 176 of 208 menu

Modules in Python

abs

Two numbers are given:

num1 = -8 num2 = -2

Get the sum of their modules.

The lists are given:

lst1 = [-3, 4, -1, 6] lst2 = []

Write the code to get the following result:

lst2 = [3, 4, 1, 6]
byenru