Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Hệ điều hành
Ebook Starting out with python (2nd edition): Part 2
Đang chuẩn bị liên kết để tải về tài liệu:
Ebook Starting out with python (2nd edition): Part 2
Hữu Hiệp
59
319
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
(BQ) Part 2 book "Starting out with python" has contents: Lists and tuples, more about strings, dictionaries and sets, dictionaries and sets, inheritance, recursion, GUI programming. | CHAPTER 8 Lists and Tuples TOPICS 8.1 8.2 8.3 8.4 8.5 8.1 Sequences Introduction to Lists List Slicing Finding Items in Lists with the in Operator List Methods and Useful Built-in Functions 8.6 8.7 8.8 8.9 Copying Lists Processing Lists Two-Dimensional Lists Tuples Sequences CONCEPT: A sequence is an object that holds multiple items of data, stored one after the other. You can perform operations on a sequence to examine and manipulate the items stored in it. A sequence is an object that contains multiple items of data. The items that are in a sequence are stored one after the other. Python provides various ways to perform operations on the items that are stored in a sequence. There are several different types of sequence objects in Python. In this chapter we will look at two of the fundamental sequence types: lists and tuples. Both lists and tuples are sequences that can hold various types of data. The difference between lists and tuples is simple: a list is mutable, which means that a program can change its contents, but a tuple is immutable, which means that once it is created, its contents cannot be changed. We will explore some of the operations that you may perform on these sequences, including ways to access and manipulate their contents. 8.2 Introduction to Lists CONCEPT: A list is an object that contains multiple data items. Lists are mutable, which means that their contents can be changed during a program’s execution. Lists are dynamic data structures, meaning that items may be added to them or removed from them. You can use indexing, slicing, and various methods to work with lists in a program. 295 296 Chapter 8 Lists and Tuples A list is an object that contains multiple data items. Each item that is stored in a list is called an element. Here is a statement that creates a list of integers: even_numbers = [2, 4, 6, 8, 10] The items that are enclosed in brackets and separated by commas are the list elements. After this statement executes, .
TÀI LIỆU LIÊN QUAN
Ebook Starting out with python (3rd edition): Part 1
Ebook Starting out with python (3rd edition): Part 2
Ebook Starting out with python (2nd edition): Part 1
Ebook Starting out with python (2nd edition): Part 2
Ebook Starting electronics (3rd edition): Part 1
Ebook Starting electronics (3rd edition): Part 2
Ebook The Art of the Start
Ebook My career guide - Part I
Ebook The facebook ads experiment 12 tips to crazy engagement
Ebook Quick Start
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.