0:00
Hey guys, welcome to the last chapter and this is the second last video of our python
0:10
basics course. Today, I gotta share with you 15 common keywords and we probably did not use them throughout
0:18
our course. So, you are supposed to learn them right now and do the required work with them coz they
0:25
are commonly being used. Let's div into it. Import The import keyword is used to include different
0:35
external libraries on your code so that you can get access to them and use them in your code
0:43
Break The break statement is used inside a loop and it basically exits the loop
0:51
If it is used within a system of nested loops then it will quit that loop where it is inserted
0:58
Continue The continue statement is actually used for ending the current iteration of a loop
1:07
Pass The pass keyword is used as a placeholder for future code
1:14
It helps to avoid getting error. Del The del keyword allows you to delete any object
1:23
It could be a variable, list or a part of list. From From keyword is used to add a specific function
1:33
from a module. Sometimes you just need to use one function or even more but you don't have to import
1:40
the entire module. Global The global keyword allows you to modify a
1:46
global variable inside a function. If you try to modify a global variable inside a function without using the global keyword
1:54
you'll get an error. Lambda The lambda keyword helps in creating an anonymous function
2:02
A function with no name that can take any number of arguments but only return a single expression
2:09
Is The is keyword is used to test if two variables refer to the same object
2:18
In The in keyword is used for checking whether a value is present in a sequence or not
2:24
It could be a list, string, range etc. Return The return keyword is used inside a function
2:32
to return a value to the function caller. True The true keyword is used as a boolean value
2:43
False False is the opposite of true keyword. Class The class keyword is used in creating a class
2:56
Def The def keyword is placed before the user defined function's name
3:02
It is used for defining functions. That was all for now. Thank you for watching