Show Menu
Cheatography

Python Abstract Data Types Cheat Sheet (DRAFT) by

Linear and Associative ADTs, including List, Stack, Queue, Deque, Map, Multimap, and Key

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Lists

`

weekday = ['Monday', 'Tuesday', 'Wedne­sday', 'Thurs­day', 'Friday', 'Satur­day', 'Sunday']
# List Compre­hension
print([d for d in weekday if d.star­tsw­ith­('T')])
`


{{bb=1}}

['Tues­day', 'Thurs­day']

abc{co­lsp­an=­2}}cde

This is a title

col1
col2
col1 row 2
col2 row 2
This is a note