Search
You exceeded the request by
0 characters

5. Introduction to the section «The very basics of Python»

The test was not passed
0
0

Summary

- In this section, we will look at the main points of Python, including syntax, data structures, and conditional instructions.

- Let's start with an example of a simple alarm clock in Python and look at data types, including numbers, strings, lists, dictionaries, tuples, and sets.

- We will also discuss assignment operations and operations with various data types.

- Consider formatting strings using the % operator, the format() method, and f-strings.

- Let's continue studying the conditional construction if/elif/else and the operators in, and, or and `not'.

- Let's study data type conversion and validation to prevent problems with mixing types.

- Learn how to use chains of methods to optimize and reduce the amount of code.

In the previous section we got to know the Python programming language, console I/O operations, and variables superficially. In this section, we will begin to dive into the Python language. Next, let's look at the main points of the section:

We have got acquainted with the main topics of the section "The very basics of Python" and can move on to first lesson.

Test task

Two seconds...
For the first time on the Codebra website?

Sorry about this pop-up, they annoy me too.

The codebra.ru educational resource is entirely dedicated to programming and computer security. All courses and lessons are on the main page. For the sake of interest, you can look at the content of courses on Active Directory Pentest, Python, HTML and CSS, JavaScript, C++ and others posted on the main page.

If you haven't found something, then use the site search, which is located on the main page at the very top.

Good luck learning!

Close the window