The content of the textbook meets the requirements of the current computer science curriculum for students in grades 7 and 9 of secondary schools. The publication consists of six chapters and contains basic information about algorithmisation and programming in Python based on structural and object-oriented methods, illustrated with numerous examples.