Array, List, etc. với chỉ mục là chuỗi kí tự

Ví dụ: Tạo một danh sách với các phần tử sử dụng chỉ mục là chuỗi. Kiểu dữ liệu này thường được gọi là mảng kết hợp. Trong Python, chúng ta có thể sử dụng cấu trúc dữ liệu từ điển (Dictionaries) và khai báo như sau:
reactions = {"Vac_c":{"IntMeta",33}, "Vac_f":{"IntMeta",12},"Gln_in":{"ExtMeta",20}}
Một vài hình ảnh minh họa cho trường hợp associative array.
Associative Array
Associative Array

php_associativearray

associativemaps02
Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.

https://www.itersdesktop.com/author/nvntung/

One thought on “Array, List, etc. với chỉ mục là chuỗi kí tự

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.