Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python for Beginners | Learn Python from Scratch
Python Basics
What is Python? Installation and first execution (8:47)
Variables, creating and running external srcript, interactive Shell (14:06)
Comments (3:17)
Types of Variables (9:15)
Math Operators (10:12)
Semicolon and ENTER - assigning multiple values to variables at once (4:30)
Exercise: adding VAT to products (8:12)
Assignment operators (2:18)
Playing with Strings (Slicing, adding and having fun) (10:01)
Functions and Libraries basics
Importing libraries - basics (10:51)
ATTENTION - important lecture about common mistake regarding functions (5:22)
Taking data from user and type conversion (casting) (11:52)
Conditional statements
Comparison (Relational) Operators (5:10)
Instruction 'if' why INDENTATION is IMPORTANT in Python | DO NOT SKIP! (10:50)
EXERCISE: Simple Calculator (11:05)
Values different than 0 (3:04)
Logical Operators (9:58)
Loops
Loop while (6:06)
EXERCISE: Adding numbers taken from the user (8:08)
Loop for (6:12)
Instruction break and continue (11:20)
EXERCISE: Guess the number (8:34)
Lists
What are Lists? Basic operations on lists (9:36)
Checking if element is 'in' or 'not in' the list (2:41)
Operating on lists with Functions (13:34)
Advanced Types
Tuples - what does immutable mean? (5:20)
Dictionary (10:07)
Sets (7:12)
Operations on sets (7:32)
Nested types (12:49)
Processing nested types (3:28)
Dictionary inside Dictionary, Dictionary inside List - when to choose which? (8:37)
Extracting (Iterating Through) values from nested dictionaries (19:33)
EXERCISE: Dynamic dictionary with definitions (12:20)
Transformations
List Comprehensions (10:14)
Generator expression (11:29)
Dictionary Comprehensions (14:04)
Set Comprehensions (2:51)
EXERCISE: Finding numbers that are divisible by 7, but are not divisible by 5 (10:24)
Functions Basics
How to create a function? (10:24)
Multiple parameters in function (passing more arguments) (4:46)
Returning values from function (12:26)
Functions - Advanced
Multi module application | How to import your own module? (9:52)
enum - what it is and why you should use it? (13:01)
EXERCISE: Sum of all numbers up to the one entered by user | IMPORTANT lecture (13:49)
Measuring PERFORMANCE of code | How well (fast) some part of code work | time (15:06)
Function as argument of another function | How to measure performance of func (7:19)
default arguments (7:21)
named (keyword) and unnamed (positional) arguments (8:31)
EXERCISE - checking if value is in container (6:48)
Variable Length Argument (Multiple Arguments sent and saved in single parameter) (11:45)
Local vs Global Variables - scope - lifetime of variables (9:12)
Mutable vs immutable objects (20:56)
Shallow vs Deep copy of object (14:08)
Lambda | Anonymous functions - what are they? when should you use them? (11:49)
Random numbers
Drawing random numbers - creating a program that checks if you hit the monster (14:47)
Random events - choice vs choices function (9:04)
shuffle - shuffling cards in 'war' game (3:04)
EXERCISE: Drawing elements without REPETITION - lottery game - 6 numbers from 49 (12:46)
EXERCISE | GAME | Drawing random chests colours with random rewards (25:02)
EXERCISE | GAME | Drawing approximate value to a certain value (8:05)
Working with Files in Python and Exceptions | I/O operations
What is a file? How to create it? Why do we need to CLOSE it? How to save data? (10:09)
Exceptions, try, finally block (4:22)
Reading the content of file - read vs readlines, splitting lines, encoding (7:29)
Opening the file using: with... as...: (3:01)
seek and tell - changing and reading the position of last operation in file (5:04)
append - adding text at the end of file (2:21)
Generator functions
Generator functions - yield keyword (13:30)
EXERCISE: Generate infinite amount of numbers multiplied by themselves (6:19)
send method - how to send a value into a generator? (11:54)
seek and tell - changing and reading the position of last operation in file
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock