Розпушувальні зуби забезпечують розпушення полотна тераси при русі трактора:
Конструктивна ширина захвату терасера ТК-4 складає:
При першому проході терасування рухомий відвал опускається нижче основного у ТС-2,5 на:
Ширина захвату рухомого відвалу ТС-2,5 складає:
Task 1: Looping and Accumulator Variable
Objective: Practice loop control and accumulator patterns using Python.
Instructions:
Write a Python function sum_list_elements(lst) that:
Takes a list of integers as input.
Returns the sum of all elements using a for loop and an accumulator variable.
Extend the function to count how many elements in the list are greater than 10 using a separate counter.
Example Input:
[3, 11, 15, 7, 2, 18]
Expected Output:
Sum: 56
Count of numbers > 10: 3
Task 2: Swapping Two Variables (Multiple Methods)
Objective: Practice variable swapping using different techniques.
Instructions:
Write a Python function swap_with_temp(a, b) that:
Swaps two variables using a temporary variable.
Write another function swap_without_temp(a, b) that:
Swaps two variables using arithmetic operations (addition and subtraction).
(Optional Advanced) Try swapping using a Python tuple assignment in a single line.
Example Input:
a = 100, b = 200
Expected Output for all methods:
a = 200, b = 100
Task 3: Range Function Practice
Objective: Use Python’s range() to control loops.
Instructions:
Write a Python function range_sum(n) that:
Uses a for loop and range() to add numbers from 0 up to n-1.
Modify the function to:
Use a while loop instead of a for loop.
Use a bottom-check loop (while True + break) structure to achieve the same.
Example Input:
n = 5
Expected Output:
Sum = 10
Площадкоутворювач ОПГН-1 створює площадку діаметром:
Площадкоутворювач ОПГН-1 застосовують на схилах крутизною;
Створення площадок ПНД-1 починається з: