Alterna · учебный материал

Lines and symbols

Chapter 37: Programming: rows and symbols. Short explanations, diagrams, trajectory and practice.

Что в этом материале

Содержание и основные понятия

The string is an indexed sequence of characters. The examination task turns the large text into a linear passage with an exact state.
substance and practice
Grade 8
EEG No. 24
ALT
Alt decoder line
The slice selects index symbols. Change boundaries and step: amber marks every symbol that goes into the new line.
Line of reference
start
stop
step
outcome
01
Headway
The workshop and the exam test test are not guessing, but the steady skill of analysis and code writing.
37.1 · Theory and track
Indexes and cuts
The first character has an index of 0, the last one is available as -1. The s[left:right] includes left and does not include right.
Open topic
37.2 Theory and track
Searching and counting symbols
For one passage, only the necessary condition is kept: the counter, the current length of the series and the best result.
Open topic
37.3 Theory and track
String Conversion
Since the string is unalterable, conversion creates a new line: via replay, jone, or accumulation of parts in the list.
Open topic
37.4 Practice
Workshop
Twenty diagnostic questions with four outcomes and eight programme tasks with additional tests.
Start training
37.5. Monitoring
Skills testing
The timer does not drop when rebooted, correct is hidden until the end, the program task is mandatory.
Open option
37.6 · Copyright code
Python studio
Choose a problem, change the algorithm, and pass the visible and hidden tests in the isolated runtime.
Open the studio.

Structural map of textbooks