This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
python3_ref [2018/08/09 11:17] jguerin removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 1. Python Language Reference ====== | ||
- | |||
- | Programming languages are a tool. While many modern programming languages are designed to be general purpose, some programming languages may be better suited to solve certain problems than others. | ||
- | |||
- | ===== When to use Python3 ===== | ||
- | While efficiency of a //program// is key to solving many contest problems, efficiency of the // | ||
- | |||
- | ===== When not to use Python3 ===== | ||
- | |||
- | The reverse is also true. Python3 may be the //wrong// choice for other problems. While Python3 boosts programmer efficiency, it inherently lacks runtime efficiency. Python3 cannot compete with well written [[cpp_ref|C/ | ||
- | |||
- | Fortunately, | ||
- | |||
- | Python3 is a natural choice for many of the problems that are selected for the first half of a programming contest. | ||
- | |||
- | ===== Input/ | ||
- | * [[python3_basic_io|Basic IO]] operations | ||
- | * [[python3_faster_io|Faster IO]] for competitive programming | ||
- | |||
- | ===== Data Structures ===== | ||
- | |||
- | ==== Sequential Structures ==== | ||
- | * [[python3_lists|Lists]] | ||
- | * [[python3_strings|Strings]] | ||
- | * [[python3_tuples|Tuples]] | ||
- | * [[python3_stacks|Stacks]] | ||
- | * [[python3_queues|Queues]] | ||
- | * [[python3_priority_queues|Priority Queues]] | ||
- | |||
- | === Sequential Structures: Operators and Functionality === | ||
- | * [[python3_slicing | Indexing and Slicing]] | ||
- | * [[python3_unpacking | Unpacking]] | ||
- | |||
- | |||
- | ==== Non-Sequential Structures ==== | ||
- | * [[python3_dictionaries|Dictionaries]] | ||
- | * [[python3_sets|Sets]] | ||
- | |||
- | |||
- | ===== Functional Programming ===== | ||
- | ==== Higher Order Functions ==== | ||
- | * [[python3_functional_intro|Introduction]] | ||
- | * [[python3_map_reduce_filter|Map, | ||
- | * [[python3_lambdas|Lambda Expressions]] | ||
- | |||
- | ===== Mathematical Types and Operations ===== | ||
- | ==== Numeric Types ==== | ||
- | * [[python3_decimal|Decimal]] | ||
- | * [[python3_fractions|Fractions]] | ||