Variables, Loops, Functions: See How They Work Together
ITeasyPeasy
0:00 / 0:00
Variables, Loops, Functions: See How They Work Together
154 просмотра · 7 дн. назад
ITeasyPeasy
24 подписчика
154 просмотра · 7 дн. назад
Learn 15 essential programming concepts through one tiny Python game. Follow Ada as she collects coins, buys items, and saves her progress—and see how each line changes what happens.
No prior Python knowledge needed. We connect variables, data types, operators, conditions, loops, functions, lists, dictionaries, references, classes, algorithms, recursion, exceptions, tests, and files with real code, visual explanations, and questions you can answer as you watch.
Every displayed Python example was run, including five command sessions of the complete mini-game.
Which concept finally clicked for you? Tell us in the comments, and subscribe to ITeasyPeasy for more programming explained simply.
Chapters
0:00 One tiny game. Fifteen ideas.
0:48 01 · Variables
1:38 02 · Data types
2:39 03 · Operators
3:34 04 · Conditionals
4:28 05 · Loops
5:18 06 · Functions
6:05 07 · Lists
6:54 08 · Dictionaries
7:43 09 · References and copying
8:35 10 · Classes and objects
9:34 11 · Algorithms
10:25 12 · Recursion
11:23 13 · Exceptions
12:20 14 · Tests
13:18 15 · Files and persistence
14:16 Put the ideas together
Try it yourself
Add a shield to the shop. Test purchases below, at and above its price, then save and load the inventory.
#programming #coding #learntocode