Python Taskbook Level 1.6
Задание 1
Given a list of numbers:
python[1, 2, 3, 4, 5]
Find the sum of the elements of this list.
Задание 2
Given a list of numbers:
python[1, 2, 3, 4, 5]
Find the sum of the squares of the elements of this list.
Задание 3
Given a list of numbers:
python[1, 2, 3, 4, 5]
Find the sum of the square roots of the elements of this list.
Задание 4
Given a list of numbers:
python[1, 2, -3, 4, -5]
Find the sum of the positive elements of this list.
Задание 5
Given a list of numbers:
python[-1, 2, -3, 4, 5, 11]
Find the sum of those elements of this list that are greater than zero and less than ten.
Задание 6
Given a string:
python'abcde'
Loop through and output to the console one by one all characters from the end of the line.