Introduction to Python
BEGINNER
#python
Author: Oleksandr Lomako
Course description
Python is an interpreted high-level general-purpose programming language, which means it can be used in different spheres of human activity (unlike HTML, CSS, and JavaScript, which are mainly used in web development). Python can be used in software developing, data science, back-end development, etc. In this course, you will meet with the main aspects of Python and by the end of this course, you will be able to write your functions!
Complete all chapters to get certificate
0%
First Acquaintance
In this section, you will be introduced to the very basics of Python and to your workspace, learn some simple math operations, and print your results.
The Very First Steps
Comments
Some Simple Math
More Challenging Math
Challenge
Bringing It All Together
Variables and Types
In this section, you will learn how to store numbers, text, etc. in computer memory and then be able to call them by name. Also, you will learn little manipulation with text in Python.
Storing Numbers
Naming Rules
Using Variables
Data Types
Challenge
Numbers
Storing Text
String Indexing
String Slicing
Challenge
Concatenation
Conditional Statements
In this section, you will learn the next data type - boolean - and how it can help in creating programs that behave differently depending on certain conditions.
Boolean Data Type
Combining Conditions
Simple if/else Expressions
Challenge
if/elif/else Expressions
Challenge
Other Data Types
In this section, you will continue learning different data types in Python: This time you will learn how to store different characteristics inside one variable using lists, tuples, and more interesting type dictionaries.
What Is a List?
List Methods
Challenge
Nested Lists
Challenge
What Is a Tuple?
Tuple Methods
Challenge
Nested Tuples
What Is a Dictionary?
Challenge
Dictionary Methods
Challenge
Loops
In this section, you will learn how to write loops in Python - things often used to iterate over a list, tuple, dictionary, or even in a future dataframe...
while Loop
while True
Challenge
for Loop
Challenge
Range
Challenge
Iterating Over Indexes
Nested Loops
Functions
In the final section of our introduction course, you will learn a bit about built-in functions and then write some functions by yourself!
Built-in Functions
Defining Your First Function
if/else Statements in Functions
Challenge
Functions With No Return
Modifying Functions
Lambda Functions