Input, Decisions and Pattern Matching
Learn Eva
0:00 / 0:00
Input, Decisions and Pattern Matching
5 просмотров · 6 дн. назад
Learn Eva
50 подписчиков
5 просмотров · 6 дн. назад
Complete Python Basics, Module 04 of 17: Input, Decisions and Pattern Matching
Taught by Touqeer Abbas. Absolute beginner to confident Python fundamentals.
In this module you will:
Read user input and convert it with int() and float()
Write Boolean expressions and predict truthiness
Make decisions with if, elif, else and nested blocks
Use comparison chaining, conditional expressions and short-circuiting
Choose between match/case and if for a decision
Validate input with guard clauses before using it
Chapters:
0:00 Welcome
1:05 Input and conversion
2:14 Booleans and truthiness
3:34 if, elif and else
4:41 Chaining and short-circuits
6:12 match and case
7:03 Validation and guard clauses
8:12 Examples
10:23 Common mistakes
10:54 Quiz
12:13 Practice
12:59 Summary
13:26 Wrap-up
#Python #PythonForBeginners #PythonIfElse #PythonProgramming #LearnEva