Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
List basics
Lists with if statements and loops
Lists in functions
20. Functions with lists – practice 1


Good! Now that you know the difference between working with an original list and creating a copy, it's time for practice!


Create function get_absolute_values() that takes a list and modifies the original list so that all numbers are given as absolute values (i.e., get rid of the minus sign for minus numbers). Do not return anything.

Stuck? Here's a hint!


for i in range(0, len(input_list)):