Variables, lists, conditions and loops on real work examples
Learn the eight building blocks behind almost every AI-written script: variables, types, lists, dictionaries, if, for, range and functions. Practise reading code on a shop's sales and asking AI to explain a line you do not get.
ENМатеріали курсів поки англійською. Інтерфейс, ШІ-наставник і перевірка завдань — українською.
Why read code if AI writes it
AI writes code fast, and it makes mistakes with the same confidence it answers with. It can pick the wrong column, use the wrong discount threshold, or leave out a day of revenue. You can only catch that if you understand what the script says. You do not need to write from scratch. It is enough to recognise eight building blocks that make up almost every working script: variables, types, lists, dictionaries, conditions, loops, range and functions.
This whole lesson uses the sales of the shop from lesson 1. Create basics.py in your work-python folder and try the examples as you read.
Далі урок відкривається після безкоштовної реєстрації
Реєстрація через email або Google відкриває перші два уроки кожного курсу назавжди і 7 днів повного доступу до всього каталогу. Картка не потрібна.


