Alterna · учебный материал
Changed, types and arithmetic
Chapter 34: Programming: variables, types, inputs and arithmetic; short explanations, diagrams, trajectory and practices.
Что в этом материале
- Alt loader and variables
- Headway
- Change and assignment
- Data Types, Input and Print
- Arrhymetic expressions
- Workshop
- Skills testing
- Python studio
Содержание и основные понятия
ALT
Alt loader and variables
Commands change not the image, but the values in the memory: coordinate
x
and the variable
cargo
.
SMALL TRAFFIC
Delivered: 0
SCALE
1
2
3
The receiver.
x
0
cargo
None
The loader's in the warehouse.
The first true code is that the data is stored, changes the type, participates in the computation, and becomes the exact answer.
substance and practice
Grade 8
OGE No. 6
01
Headway
The workshop and the exam test test are not guessing, but the steady skill of analysis and code writing.
34.1 · Theory and track
Change and assignment
Changed is the name associated with the current value. Python first calculates the right part of the assignment and then changes the connection to the left.
Open topic
34.2 Theory and track
Data Types, Input and Print
Input() always returns the string. For numerical calculation, the string is clearly converted by an int() or float() function.
Open topic
34.3 Theory and track
Arrhymetic expressions
Python has regular operations, a whole division //, the remainder of % and the degree **.
Open topic
34.4 Practice
Workshop
Twenty diagnostic questions with four outcomes and eight programme tasks with additional tests.
Start training
34.5. Monitoring
Skills testing
The timer does not drop when rebooted, correct is hidden until the end, the program task is mandatory.
Open option
34.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.