# Table of contents
- [`223 programs of learning cost (default: no group)`](#223-programs-of-learning-cost-default-no-group)
    - [`001.0003-print-hello-world.py`](#program-0010003-print-hello-worldpy-learning-cost-44375)
    - [`001.1159-print-hello-world.py`](#program-0011159-print-hello-worldpy-learning-cost-35)
    - [`002.0011-print-hello-10-times.py`](#program-0020011-print-hello-10-timespy-learning-cost-90625)
    - [`002.1493-print-hello-10-times.py`](#program-0021493-print-hello-10-timespy-learning-cost-6234375)
    - [`002.3117-print-hello-10-times.py`](#program-0023117-print-hello-10-timespy-learning-cost-6234375)
    - [`003.0019-create-a-procedure.py`](#program-0030019-create-a-procedurepy-learning-cost-7875)
    - [`003.2372-create-a-procedure.py`](#program-0032372-create-a-procedurepy-learning-cost-40625)
    - [`004.0024-create-a-function-which-returns-the-square-of-an-integer.py`](#program-0040024-create-a-function-which-returns-the-square-of-an-integerpy-learning-cost-7875)
    - [`004.2921-create-a-function-which-returns-the-square-of-an-integer.py`](#program-0042921-create-a-function-which-returns-the-square-of-an-integerpy-learning-cost-88125)
    - [`005.0663-create-a-2d-point-data-structure.py`](#program-0050663-create-a-2d-point-data-structurepy-learning-cost-24375)
    - [`006.0032-iterate-over-list-values.py`](#program-0060032-iterate-over-list-valuespy-learning-cost-51875)
    - [`007.0183-iterate-over-list-indexes-and-values.py`](#program-0070183-iterate-over-list-indexes-and-valuespy-learning-cost-725)
    - [`008.0039-initialize-a-new-map-associative-array.py`](#program-0080039-initialize-a-new-map-associative-arraypy-learning-cost-625)
    - [`009.1410-create-a-binary-tree-data-structure.py`](#program-0091410-create-a-binary-tree-data-structurepy-learning-cost-9796875)
    - [`009.3176-create-a-binary-tree-data-structure.py`](#program-0093176-create-a-binary-tree-data-structurepy-learning-cost-8921875)
    - [`010.0182-shuffle-a-list.py`](#program-0100182-shuffle-a-listpy-learning-cost-33125)
    - [`010.1478-shuffle-a-list.py`](#program-0101478-shuffle-a-listpy-learning-cost-434375)
    - [`011.0047-pick-a-random-element-from-a-list.py`](#program-0110047-pick-a-random-element-from-a-listpy-learning-cost-434375)
    - [`012.0181-check-if-list-contains-a-value.py`](#program-0120181-check-if-list-contains-a-valuepy-learning-cost-2375)
    - [`013.0574-iterate-over-map-keys-and-values.py`](#program-0130574-iterate-over-map-keys-and-valuespy-learning-cost-8109375)
    - [`014.0185-pick-uniformly-a-random-floating-point-number-in-ab.py`](#program-0140185-pick-uniformly-a-random-floating-point-number-in-abpy-learning-cost-971875)
    - [`014.3410-pick-uniformly-a-random-floating-point-number-in-ab.py`](#program-0143410-pick-uniformly-a-random-floating-point-number-in-abpy-learning-cost-434375)
    - [`015.0184-pick-uniformly-a-random-integer-in-ab.py`](#program-0150184-pick-uniformly-a-random-integer-in-abpy-learning-cost-434375)
    - [`016.1530-depth-first-traversing-of-a-binary-tree.py`](#program-0161530-depth-first-traversing-of-a-binary-treepy-learning-cost-1134375)
    - [`017.1103-create-a-tree-data-structure.py`](#program-0171103-create-a-tree-data-structurepy-learning-cost-12671875)
    - [`018.2084-depth-first-traversing-of-a-tree.py`](#program-0182084-depth-first-traversing-of-a-treepy-learning-cost-1246875)
    - [`019.0197-reverse-a-list.py`](#program-0190197-reverse-a-listpy-learning-cost-4375)
    - [`019.1983-reverse-a-list.py`](#program-0191983-reverse-a-listpy-learning-cost-53125)
    - [`019.3164-reverse-a-list.py`](#program-0193164-reverse-a-listpy-learning-cost-3484375)
    - [`020.0573-return-two-values.py`](#program-0200573-return-two-valuespy-learning-cost-134375)
    - [`021.0084-swap-values-of-variables-a-and-b.py`](#program-0210084-swap-values-of-variables-a-and-bpy-learning-cost-440625)
    - [`022.0243-convert-string-to-integer.py`](#program-0220243-convert-string-to-integerpy-learning-cost-528125)
    - [`023.1102-convert-real-number-to-string-with-2-decimal-places.py`](#program-0231102-convert-real-number-to-string-with-2-decimal-placespy-learning-cost-6234375)
    - [`024.0664-assign-to-string-the-japanese-word-.py`](#program-0240664-assign-to-string-the-japanese-word-py-learning-cost-4375)
    - [`025.0195-send-a-value-to-another-thread.py`](#program-0250195-send-a-value-to-another-threadpy-learning-cost-190625)
    - [`026.0194-create-a-2-dimensional-array.py`](#program-0260194-create-a-2-dimensional-arraypy-learning-cost-703125)
    - [`027.0192-create-a-3-dimensional-array.py`](#program-0270192-create-a-3-dimensional-arraypy-learning-cost-703125)
    - [`027.0193-create-a-3-dimensional-array.py`](#program-0270193-create-a-3-dimensional-arraypy-learning-cost-6125)
    - [`028.0350-sort-by-a-property.py`](#program-0280350-sort-by-a-propertypy-learning-cost-71875)
    - [`029.0199-remove-item-from-list-by-its-index.py`](#program-0290199-remove-item-from-list-by-its-indexpy-learning-cost-325)
    - [`030.0189-parallelize-execution-of-1000-independent-tasks.py`](#program-0300189-parallelize-execution-of-1000-independent-taskspy-learning-cost-1178125)
    - [`031.0188-recursive-factorial-simple.py`](#program-0310188-recursive-factorial-simplepy-learning-cost-149375)
    - [`032.0196-integer-exponentiation-by-squaring.py`](#program-0320196-integer-exponentiation-by-squaringpy-learning-cost-7875)
    - [`033.1420-atomically-read-and-update-variable.py`](#program-0331420-atomically-read-and-update-variablepy-learning-cost-51875)
    - [`034.0625-create-a-set-of-objects.py`](#program-0340625-create-a-set-of-objectspy-learning-cost-753125)
    - [`035.0667-first-class-function--compose.py`](#program-0350667-first-class-function--composepy-learning-cost-111875)
    - [`036.0670-first-class-function--generic-composition.py`](#program-0360670-first-class-function--generic-compositionpy-learning-cost-111875)
    - [`037.0671-currying.py`](#program-0370671-curryingpy-learning-cost-133125)
    - [`038.0186-extract-a-substring.py`](#program-0380186-extract-a-substringpy-learning-cost-51875)
    - [`039.0571-check-if-string-contains-a-word.py`](#program-0390571-check-if-string-contains-a-wordpy-learning-cost-41875)
    - [`040.2279-graph-with-adjacency-lists.py`](#program-0402279-graph-with-adjacency-listspy-learning-cost-2796875)
    - [`041.0187-reverse-a-string.py`](#program-0410187-reverse-a-stringpy-learning-cost-8984375)
    - [`041.2714-reverse-a-string.py`](#program-0412714-reverse-a-stringpy-learning-cost-53125)
    - [`042.1264-continue-outer-loop.py`](#program-0421264-continue-outer-looppy-learning-cost-116875)
    - [`042.3168-continue-outer-loop.py`](#program-0423168-continue-outer-looppy-learning-cost-884375)
    - [`043.0676-break-outer-loop.py`](#program-0430676-break-outer-looppy-learning-cost-14875)
    - [`043.2733-break-outer-loop.py`](#program-0432733-break-outer-looppy-learning-cost-196875)
    - [`044.0190-insert-element-in-list.py`](#program-0440190-insert-element-in-listpy-learning-cost-3484375)
    - [`045.0570-pause-execution-for-5-seconds.py`](#program-0450570-pause-execution-for-5-secondspy-learning-cost-615625)
    - [`046.0191-extract-beginning-of-string-prefix.py`](#program-0460191-extract-beginning-of-string-prefixpy-learning-cost-6125)
    - [`047.0198-extract-string-suffix.py`](#program-0470198-extract-string-suffixpy-learning-cost-6125)
    - [`048.0210-multi-line-string-literal.py`](#program-0480210-multi-line-string-literalpy-learning-cost-4421875)
    - [`049.0242-split-a-space-separated-string.py`](#program-0490242-split-a-space-separated-stringpy-learning-cost-5296875)
    - [`050.0572-make-an-infinite-loop.py`](#program-0500572-make-an-infinite-looppy-learning-cost-43125)
    - [`051.0230-check-if-map-contains-key.py`](#program-0510230-check-if-map-contains-keypy-learning-cost-2375)
    - [`052.0666-check-if-map-contains-value.py`](#program-0520666-check-if-map-contains-valuepy-learning-cost-4234375)
    - [`053.0240-join-a-list-of-strings.py`](#program-0530240-join-a-list-of-stringspy-learning-cost-6234375)
    - [`053.1933-join-a-list-of-strings.py`](#program-0531933-join-a-list-of-stringspy-learning-cost-8796875)
    - [`054.0241-compute-sum-of-integers.py`](#program-0540241-compute-sum-of-integerspy-learning-cost-4375)
    - [`055.0575-convert-integer-to-string.py`](#program-0550575-convert-integer-to-stringpy-learning-cost-528125)
    - [`056.1424-launch-1000-parallel-tasks-and-wait-for-completion.py`](#program-0561424-launch-1000-parallel-tasks-and-wait-for-completionpy-learning-cost-125625)
    - [`057.0260-filter-list.py`](#program-0570260-filter-listpy-learning-cost-525)
    - [`057.3173-filter-list.py`](#program-0573173-filter-listpy-learning-cost-60625)
    - [`058.0665-extract-file-content-to-a-string.py`](#program-0580665-extract-file-content-to-a-stringpy-learning-cost-525)
    - [`059.0668-write-to-standard-error-stream.py`](#program-0590668-write-to-standard-error-streampy-learning-cost-440625)
    - [`060.1084-read-command-line-argument.py`](#program-0601084-read-command-line-argumentpy-learning-cost-60)
    - [`061.0576-get-current-date.py`](#program-0610576-get-current-datepy-learning-cost-51875)
    - [`062.1091-find-substring-position.py`](#program-0621091-find-substring-positionpy-learning-cost-5296875)
    - [`063.1088-replace-fragment-of-a-string.py`](#program-0631088-replace-fragment-of-a-stringpy-learning-cost-5296875)
    - [`064.0274-big-integer--value-3-power-247.py`](#program-0640274-big-integer--value-3-power-247py-learning-cost-6125)
    - [`065.1085-format-decimal-number.py`](#program-0651085-format-decimal-numberpy-learning-cost-6234375)
    - [`066.0672-big-integer-exponentiation.py`](#program-0660672-big-integer-exponentiationpy-learning-cost-43125)
    - [`067.1426-binomial-coefficient-n-choose-k.py`](#program-0671426-binomial-coefficient-n-choose-kpy-learning-cost-105)
    - [`068.2271-create-a-bitset.py`](#program-0682271-create-a-bitsetpy-learning-cost-12375)
    - [`069.1086-seed-random-generator.py`](#program-0691086-seed-random-generatorpy-learning-cost-43125)
    - [`070.1087-use-clock-as-random-generator-seed.py`](#program-0701087-use-clock-as-random-generator-seedpy-learning-cost-43125)
    - [`071.0379-echo-program-implementation.py`](#program-0710379-echo-program-implementationpy-learning-cost-8796875)
    - [`073.0673-create-a-factory.py`](#program-0730673-create-a-factorypy-learning-cost-105625)
    - [`074.0674-compute-gcd.py`](#program-0740674-compute-gcdpy-learning-cost-5125)
    - [`075.0675-compute-lcm.py`](#program-0750675-compute-lcmpy-learning-cost-6875)
    - [`076.1083-binary-digits-from-an-integer.py`](#program-0761083-binary-digits-from-an-integerpy-learning-cost-6234375)
    - [`077.1093-complex-number.py`](#program-0771093-complex-numberpy-learning-cost-63125)
    - [`078.1089-do-while-loop.py`](#program-0781089-do-while-looppy-learning-cost-621875)
    - [`079.1090-convert-integer-to-floating-point-number.py`](#program-0791090-convert-integer-to-floating-point-numberpy-learning-cost-528125)
    - [`080.1092-truncate-floating-point-number-to-integer.py`](#program-0801092-truncate-floating-point-number-to-integerpy-learning-cost-528125)
    - [`081.2270-round-floating-point-number-to-integer.py`](#program-0812270-round-floating-point-number-to-integerpy-learning-cost-796875)
    - [`082.1096-count-substring-occurrences.py`](#program-0821096-count-substring-occurrencespy-learning-cost-515625)
    - [`083.1805-regex-with-character-repetition.py`](#program-0831805-regex-with-character-repetitionpy-learning-cost-6125)
    - [`084.1940-count-bits-set-in-integer-binary-representation.py`](#program-0841940-count-bits-set-in-integer-binary-representationpy-learning-cost-703125)
    - [`085.1003-check-if-integer-addition-will-overflow.py`](#program-0851003-check-if-integer-addition-will-overflowpy-learning-cost-70)
    - [`086.1004-check-if-integer-multiplication-will-overflow.py`](#program-0861004-check-if-integer-multiplication-will-overflowpy-learning-cost-70)
    - [`087.1139-stop-program.py`](#program-0871139-stop-programpy-learning-cost-528125)
    - [`088.2143-allocate-1m-bytes.py`](#program-0882143-allocate-1m-bytespy-learning-cost-621875)
    - [`089.1097-handle-invalid-argument.py`](#program-0891097-handle-invalid-argumentpy-learning-cost-35)
    - [`090.1099-read-only-outside.py`](#program-0901099-read-only-outsidepy-learning-cost-11640625)
    - [`091.1098-load-json-file-into-struct.py`](#program-0911098-load-json-file-into-structpy-learning-cost-63125)
    - [`092.1100-save-object-into-json-file.py`](#program-0921100-save-object-into-json-filepy-learning-cost-546875)
    - [`093.1082-pass-a-runnable-procedure-as-parameter.py`](#program-0931082-pass-a-runnable-procedure-as-parameterpy-learning-cost-105625)
    - [`094.1101-print-type-of-variable.py`](#program-0941101-print-type-of-variablepy-learning-cost-425)
    - [`094.1864-print-type-of-variable.py`](#program-0941864-print-type-of-variablepy-learning-cost-25625)
    - [`095.2140-get-file-size.py`](#program-0952140-get-file-sizepy-learning-cost-51875)
    - [`096.1094-check-string-prefix.py`](#program-0961094-check-string-prefixpy-learning-cost-5296875)
    - [`097.1095-check-string-suffix.py`](#program-0971095-check-string-suffixpy-learning-cost-5296875)
    - [`098.2142-epoch-seconds-to-date-object.py`](#program-0982142-epoch-seconds-to-date-objectpy-learning-cost-51875)
    - [`099.1429-format-date-yyyy-mm-dd.py`](#program-0991429-format-date-yyyy-mm-ddpy-learning-cost-80)
    - [`099.2693-format-date-yyyy-mm-dd.py`](#program-0992693-format-date-yyyy-mm-ddpy-learning-cost-45)
    - [`100.1142-sort-by-a-comparator.py`](#program-1001142-sort-by-a-comparatorpy-learning-cost-3484375)
    - [`101.2172-load-from-http-get-request-into-a-string.py`](#program-1012172-load-from-http-get-request-into-a-stringpy-learning-cost-44375)
    - [`102.2173-load-from-http-get-request-into-a-file.py`](#program-1022173-load-from-http-get-request-into-a-filepy-learning-cost-70625)
    - [`103.2276-load-xml-file-into-struct.py`](#program-1032276-load-xml-file-into-structpy-learning-cost-6125)
    - [`104.3264-save-object-into-xml-file.py`](#program-1043264-save-object-into-xml-filepy-learning-cost-16984375)
    - [`105.1804-current-executable-name.py`](#program-1051804-current-executable-namepy-learning-cost-603125)
    - [`106.2039-get-program-working-directory.py`](#program-1062039-get-program-working-directorypy-learning-cost-51875)
    - [`107.2139-get-folder-containing-current-program.py`](#program-1072139-get-folder-containing-current-programpy-learning-cost-59375)
    - [`108.1291-determine-if-variable-name-is-defined.py`](#program-1081291-determine-if-variable-name-is-definedpy-learning-cost-60625)
    - [`109.2280-number-of-bytes-of-a-type.py`](#program-1092280-number-of-bytes-of-a-typepy-learning-cost-51875)
    - [`110.1455-check-if-string-is-blank.py`](#program-1101455-check-if-string-is-blankpy-learning-cost-7015625)
    - [`111.2168-launch-other-program.py`](#program-1112168-launch-other-programpy-learning-cost-621875)
    - [`112.2144-iterate-over-map-entries-ordered-by-keys.py`](#program-1122144-iterate-over-map-entries-ordered-by-keyspy-learning-cost-70)
    - [`113.2157-iterate-over-map-entries-ordered-by-values.py`](#program-1132157-iterate-over-map-entries-ordered-by-valuespy-learning-cost-12484375)
    - [`114.2273-test-deep-equality.py`](#program-1142273-test-deep-equalitypy-learning-cost-41875)
    - [`115.2138-compare-dates.py`](#program-1152138-compare-datespy-learning-cost-50625)
    - [`116.1257-remove-occurrences-of-word-from-string.py`](#program-1161257-remove-occurrences-of-word-from-stringpy-learning-cost-6265625)
    - [`117.1297-get-list-size.py`](#program-1171297-get-list-sizepy-learning-cost-4375)
    - [`118.1254-list-to-set.py`](#program-1181254-list-to-setpy-learning-cost-528125)
    - [`118.3266-list-to-set.py`](#program-1183266-list-to-setpy-learning-cost-346875)
    - [`119.1253-deduplicate-list.py`](#program-1191253-deduplicate-listpy-learning-cost-7875)
    - [`119.3263-deduplicate-list.py`](#program-1193263-deduplicate-listpy-learning-cost-1928125)
    - [`120.1479-read-integer-from-stdin.py`](#program-1201479-read-integer-from-stdinpy-learning-cost-771875)
    - [`121.3029-udp-listen-and-read.py`](#program-1213029-udp-listen-and-readpy-learning-cost-13625)
    - [`122.1453-declare-enumeration.py`](#program-1221453-declare-enumerationpy-learning-cost-871875)
    - [`122.1454-declare-enumeration.py`](#program-1221454-declare-enumerationpy-learning-cost-6125)
    - [`123.2146-assert-condition.py`](#program-1232146-assert-conditionpy-learning-cost-1625)
    - [`124.2152-binary-search-for-a-value-in-sorted-array.py`](#program-1242152-binary-search-for-a-value-in-sorted-arraypy-learning-cost-139375)
    - [`125.2167-measure-function-call-duration.py`](#program-1252167-measure-function-call-durationpy-learning-cost-80625)
    - [`126.2137-multiple-return-values.py`](#program-1262137-multiple-return-valuespy-learning-cost-875)
    - [`127.2274-source-code-inclusion.py`](#program-1272274-source-code-inclusionpy-learning-cost-784375)
    - [`128.2085-breadth-first-traversing-of-a-tree.py`](#program-1282085-breadth-first-traversing-of-a-treepy-learning-cost-20734375)
    - [`129.2282-breadth-first-traversing-in-a-graph.py`](#program-1292282-breadth-first-traversing-in-a-graphpy-learning-cost-206875)
    - [`130.2283-depth-first-traversing-in-a-graph.py`](#program-1302283-depth-first-traversing-in-a-graphpy-learning-cost-19859375)
    - [`131.2083-successive-conditions.py`](#program-1312083-successive-conditionspy-learning-cost-325)
    - [`131.2766-successive-conditions.py`](#program-1312766-successive-conditionspy-learning-cost-33125)
    - [`132.2040-measure-duration-of-procedure-execution.py`](#program-1322040-measure-duration-of-procedure-executionpy-learning-cost-6125)
    - [`133.2160-case-insensitive-string-contains.py`](#program-1332160-case-insensitive-string-containspy-learning-cost-6046875)
    - [`134.1850-create-a-new-list.py`](#program-1341850-create-a-new-listpy-learning-cost-4375)
    - [`135.2158-remove-item-from-list-by-its-value.py`](#program-1352158-remove-item-from-list-by-its-valuepy-learning-cost-259375)
    - [`136.2141-remove-all-occurrences-of-a-value-from-a-list.py`](#program-1362141-remove-all-occurrences-of-a-value-from-a-listpy-learning-cost-61875)
    - [`137.1823-check-if-string-contains-only-digits.py`](#program-1371823-check-if-string-contains-only-digitspy-learning-cost-5296875)
    - [`138.2161-create-temp-file.py`](#program-1382161-create-temp-filepy-learning-cost-43125)
    - [`139.2162-create-temp-directory.py`](#program-1392162-create-temp-directorypy-learning-cost-43125)
    - [`140.2156-delete-map-entry.py`](#program-1402156-delete-map-entrypy-learning-cost-346875)
    - [`141.2159-iterate-in-sequence-over-two-lists.py`](#program-1412159-iterate-in-sequence-over-two-listspy-learning-cost-61875)
    - [`142.2151-hexadecimal-digits-of-an-integer.py`](#program-1422151-hexadecimal-digits-of-an-integerpy-learning-cost-4375)
    - [`143.2256-iterate-alternatively-over-two-lists.py`](#program-1432256-iterate-alternatively-over-two-listspy-learning-cost-625)
    - [`144.2145-check-if-file-exists.py`](#program-1442145-check-if-file-existspy-learning-cost-51875)
    - [`144.2915-check-if-file-exists.py`](#program-1442915-check-if-file-existspy-learning-cost-6125)
    - [`145.1822-print-log-line-with-datetime.py`](#program-1451822-print-log-line-with-datetimepy-learning-cost-721875)
    - [`146.1825-convert-string-to-floating-point-number.py`](#program-1461825-convert-string-to-floating-point-numberpy-learning-cost-634375)
    - [`146.1826-convert-string-to-floating-point-number.py`](#program-1461826-convert-string-to-floating-point-numberpy-learning-cost-528125)
    - [`146.2739-convert-string-to-floating-point-number.py`](#program-1462739-convert-string-to-floating-point-numberpy-learning-cost-440625)
    - [`147.2171-remove-all-non-ascii-characters.py`](#program-1472171-remove-all-non-ascii-characterspy-learning-cost-7140625)
    - [`148.1829-read-list-of-integer-numbers-from-stdin.py`](#program-1481829-read-list-of-integer-numbers-from-stdinpy-learning-cost-9703125)
    - [`150.2154-remove-trailing-slash.py`](#program-1502154-remove-trailing-slashpy-learning-cost-6234375)
    - [`151.2166-remove-string-trailing-path-separator.py`](#program-1512166-remove-string-trailing-path-separatorpy-learning-cost-7984375)
    - [`152.2153-turn-a-character-into-a-string.py`](#program-1522153-turn-a-character-into-a-stringpy-learning-cost-34375)
    - [`153.1980-concatenate-string-with-integer.py`](#program-1531980-concatenate-string-with-integerpy-learning-cost-6234375)
    - [`154.2155-halfway-between-two-hex-color-codes.py`](#program-1542155-halfway-between-two-hex-color-codespy-learning-cost-18234375)
    - [`154.2292-halfway-between-two-hex-color-codes.py`](#program-1542292-halfway-between-two-hex-color-codespy-learning-cost-344375)
    - [`155.2147-delete-file.py`](#program-1552147-delete-filepy-learning-cost-44375)
    - [`156.2148-format-integer-with-zero-padding.py`](#program-1562148-format-integer-with-zero-paddingpy-learning-cost-53125)
    - [`157.2150-declare-constant-string.py`](#program-1572150-declare-constant-stringpy-learning-cost-53125)
    - [`158.2163-random-sublist.py`](#program-1582163-random-sublistpy-learning-cost-51875)
    - [`159.2281-trie.py`](#program-1592281-triepy-learning-cost-11734375)
    - [`160.2165-detect-if-32-bit-or-64-bit-architecture.py`](#program-1602165-detect-if-32-bit-or-64-bit-architecturepy-learning-cost-75625)
    - [`161.2098-multiply-all-the-elements-of-a-list.py`](#program-1612098-multiply-all-the-elements-of-a-listpy-learning-cost-61875)
    - [`162.2164-execute-procedures-depending-on-options.py`](#program-1622164-execute-procedures-depending-on-optionspy-learning-cost-6875)
    - [`163.2170-print-list-elements-by-group-of-2.py`](#program-1632170-print-list-elements-by-group-of-2py-learning-cost-89375)
    - [`163.3177-print-list-elements-by-group-of-2.py`](#program-1633177-print-list-elements-by-group-of-2py-learning-cost-17125)
    - [`164.2169-open-url-in-default-browser.py`](#program-1642169-open-url-in-default-browserpy-learning-cost-434375)
    - [`165.2149-last-element-of-list.py`](#program-1652149-last-element-of-listpy-learning-cost-60625)
    - [`166.2272-concatenate-two-lists.py`](#program-1662272-concatenate-two-listspy-learning-cost-43125)
    - [`167.2611-trim-prefix.py`](#program-1672611-trim-prefixpy-learning-cost-7984375)
    - [`167.3175-trim-prefix.py`](#program-1673175-trim-prefixpy-learning-cost-5296875)
    - [`168.2277-trim-suffix.py`](#program-1682277-trim-suffixpy-learning-cost-7953125)
    - [`168.3174-trim-suffix.py`](#program-1683174-trim-suffixpy-learning-cost-5296875)
    - [`169.2233-string-length.py`](#program-1692233-string-lengthpy-learning-cost-4375)
    - [`170.2275-get-map-size.py`](#program-1702275-get-map-sizepy-learning-cost-4375)
    - [`171.2446-add-an-element-at-the-end-of-a-list.py`](#program-1712446-add-an-element-at-the-end-of-a-listpy-learning-cost-3484375)
    - [`172.2442-insert-entry-in-map.py`](#program-1722442-insert-entry-in-mappy-learning-cost-33125)
    - [`173.2427-format-a-number-with-grouped-thousands.py`](#program-1732427-format-a-number-with-grouped-thousandspy-learning-cost-35)
    - [`173.2428-format-a-number-with-grouped-thousands.py`](#program-1732428-format-a-number-with-grouped-thousandspy-learning-cost-35)
    - [`173.2429-format-a-number-with-grouped-thousands.py`](#program-1732429-format-a-number-with-grouped-thousandspy-learning-cost-35)
    - [`174.2687-make-http-post-request.py`](#program-1742687-make-http-post-requestpy-learning-cost-9171875)
    - [`175.2613-bytes-to-hex-string.py`](#program-1752613-bytes-to-hex-stringpy-learning-cost-5296875)
    - [`176.2614-hex-string-to-byte-array.py`](#program-1762614-hex-string-to-byte-arraypy-learning-cost-5296875)
    - [`177.2709-find-files-with-a-given-list-of-filename-extensions.py`](#program-1772709-find-files-with-a-given-list-of-filename-extensionspy-learning-cost-124375)
    - [`177.2725-find-files-with-a-given-list-of-filename-extensions.py`](#program-1772725-find-files-with-a-given-list-of-filename-extensionspy-learning-cost-12765625)
    - [`177.3241-find-files-with-a-given-list-of-filename-extensions.py`](#program-1773241-find-files-with-a-given-list-of-filename-extensionspy-learning-cost-1234375)
    - [`178.2615-check-if-point-is-inside-rectangle.py`](#program-1782615-check-if-point-is-inside-rectanglepy-learning-cost-60)
    - [`179.2688-get-center-of-a-rectangle.py`](#program-1792688-get-center-of-a-rectanglepy-learning-cost-70625)
    - [`179.2689-get-center-of-a-rectangle.py`](#program-1792689-get-center-of-a-rectanglepy-learning-cost-8875)
    - [`180.2612-list-files-in-directory.py`](#program-1802612-list-files-in-directorypy-learning-cost-51875)
    - [`182.2658-quine-program.py`](#program-1822658-quine-programpy-learning-cost-5484375)
    - [`183.3025-make-http-put-request.py`](#program-1833025-make-http-put-requestpy-learning-cost-915625)
    - [`184.2701-tomorrow.py`](#program-1842701-tomorrowpy-learning-cost-69375)
    - [`185.2820-execute-function-in-30-seconds.py`](#program-1852820-execute-function-in-30-secondspy-learning-cost-8125)
    - [`186.2699-exit-program-cleanly.py`](#program-1862699-exit-program-cleanlypy-learning-cost-53125)
    - [`187.3261-disjoint-set.py`](#program-1873261-disjoint-setpy-learning-cost-25828125)
    - [`188.3171-matrix-multiplication.py`](#program-1883171-matrix-multiplicationpy-learning-cost-51875)
    - [`188.3284-matrix-multiplication.py`](#program-1883284-matrix-multiplicationpy-learning-cost-51875)
    - [`189.3236-filter-and-transform-list.py`](#program-1893236-filter-and-transform-listpy-learning-cost-61875)
    - [`191.3403-check-if-any-value-in-a-list-is-larger-than-a-limit.py`](#program-1913403-check-if-any-value-in-a-list-is-larger-than-a-limitpy-learning-cost-69375)
    - [`197.3457-get-a-list-of-lines-from-a-file.py`](#program-1973457-get-a-list-of-lines-from-a-filepy-learning-cost-45)
# Recommended programs

## 223 programs of learning cost (default: no group)

### Program `001.0003-print-hello-world.py` (learning cost 4.4375)

```python
1   from __future__ import print_function
2   print("Hello World")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `import/standard/__future__/print_function` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `001.1159-print-hello-world.py` (learning cost 3.5)

```python
1   print("Hello World")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `002.0011-print-hello-10-times.py` (learning cost 9.0625)

```python
1   for i in range(10):
2       print("Hello")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `call/subroutine/builtin/range` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.9375 | `flow/loop/for/arithmetic` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `002.1493-print-hello-10-times.py` (learning cost 6.234375)

```python
1   print("Hello\n" * 10)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `operator/string/replication` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.984375 | `type/sequence/string/literal/special/\n` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `002.3117-print-hello-10-times.py` (learning cost 6.234375)

```python
1   print("Hello\n" * 10)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `operator/string/replication` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.984375 | `type/sequence/string/literal/special/\n` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `003.0019-create-a-procedure.py` (learning cost 7.875)

```python
1   def finish(name):
2       print("My job here is done. Goodbye " + name)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.875 | `def/subroutine/procedure` | 1-2 |
| 0.875 | `operator/string/concatenation` | 2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.75 | `style/procedural` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `003.2372-create-a-procedure.py` (learning cost 4.0625)

```python
1   def a():
2       pass
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/parameter/no` | 1-2 |
| 0.875 | `def/subroutine/procedure` | 1-2 |
| 0.75 | `flow/no_operation` | 2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.75 | `style/procedural` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `004.0024-create-a-function-which-returns-the-square-of-an-integer.py` (learning cost 7.875)

```python
1   def square(x):
2       return x * x
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.875 | `operator/arithmetic/multiplication` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `004.2921-create-a-function-which-returns-the-square-of-an-integer.py` (learning cost 8.8125)

```python
1   def square(x):
2       return x ** 2
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.875 | `operator/arithmetic/power` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `005.0663-create-a-2d-point-data-structure.py` (learning cost 2.4375)

```python
1   from dataclasses import dataclass
2   @dataclass
3   class Point:
4       x: float
5       y: float
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 3-5 |
| 0.9375 | `import/standard/dataclasses/dataclass` | 1 |
| 0.75 | `style/object_oriented` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/variety/3` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `006.0032-iterate-over-list-values.py` (learning cost 5.1875)

```python
1   for x in items:
2       doSomething(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.9375 | `flow/loop/for/elements` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `007.0183-iterate-over-list-indexes-and-values.py` (learning cost 7.25)

```python
1   for i, x in enumerate(items):
2       print(i, x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/enumerate` | 1 |
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.9375 | `flow/loop/for/indexes_and_elements` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `type/sequence/tuple/literal` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `008.0039-initialize-a-new-map-associative-array.py` (learning cost 6.25)

```python
1   x = {"one": 1, "two": 2}
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/non_sequence/dictionary/literal` | 1 |
| 0.9375 | `type/number/integer/literal` | 1, 1 |
| 0.9375 | `type/sequence/string/literal` | 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `009.1410-create-a-binary-tree-data-structure.py` (learning cost 9.796875)

```python
1   class Node:
2       def __init__(self, data):
3           self.data = data
4           self.left = None
5           self.right = None
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 1-5 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-5 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.875 | `def/subroutine/procedure` | 2-5 |
| 0.75 | `style/object_oriented` | 1-5 |
| 0.875 | `type/null/literal` | 4, 5 |
| 0.875 | `var/assignment/explicit` | 3, 4, 5 |
| 0.9375 | `var/assignment/implicit/parameter` | 2 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2 |
| 0.875 | `var/scope/local` | 2-5 |
| 0 | `meta/count/class/methods/1` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/subroutine/sloc/4` | 2-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `009.3176-create-a-binary-tree-data-structure.py` (learning cost 8.921875)

```python
1   class Node:
2       def __init__(self, data, left_child, right_child):
3           self.data = data
4           self._left_child = left_child
5           self._right_child = right_child
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 1-5 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-5 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2, 2, 2 |
| 0.875 | `def/subroutine/procedure` | 2-5 |
| 0.75 | `style/object_oriented` | 1-5 |
| 0.875 | `var/assignment/explicit` | 3, 4, 5 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2, 2 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2 |
| 0.875 | `var/scope/local` | 2-5 |
| 0 | `meta/count/class/methods/1` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/subroutine/sloc/4` | 2-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `010.0182-shuffle-a-list.py` (learning cost 3.3125)

```python
1   from random import shuffle
2   shuffle(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.9375 | `import/standard/random/shuffle` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `010.1478-shuffle-a-list.py` (learning cost 4.34375)

```python
1   import random
2   random.shuffle(list)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/random/shuffle` | 2 |
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `011.0047-pick-a-random-element-from-a-list.py` (learning cost 4.34375)

```python
1   import random
2   random.choice(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/random/choice` | 2 |
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `012.0181-check-if-list-contains-a-value.py` (learning cost 2.375)

```python
1   x in list
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `013.0574-iterate-over-map-keys-and-values.py` (learning cost 8.109375)

```python
1   for k, v in mymap.items():
2       print(k, v)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.984375 | `call/subroutine/method/non_sequence/dictionary/items` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.875 | `type/non_sequence/dictionary` | 1 |
| 0.9375 | `type/sequence/tuple/literal` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `014.0185-pick-uniformly-a-random-floating-point-number-in-ab.py` (learning cost 9.71875)

```python
1   import random
2   def pick(a, b):
3       return random.randrange(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3 |
| 0.96875 | `call/subroutine/method/random/randrange` | 3 |
| 0.9375 | `def/subroutine/function/pure` | 2-3 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.9375 | `def/subroutine/return/something` | 3 |
| 0.875 | `import/standard/random` | 1 |
| 0.75 | `style/functional` | 1-3 |
| 0.875 | `style/functional_trait/pure_function` | 2-3 |
| 0.75 | `style/one_liner` | 1-3 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2 |
| 0.875 | `var/scope/local` | 2-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/subroutine/sloc/2` | 2-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `014.3410-pick-uniformly-a-random-floating-point-number-in-ab.py` (learning cost 4.34375)

```python
1   import random
2   random.uniform(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/random/uniform` | 2 |
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `015.0184-pick-uniformly-a-random-integer-in-ab.py` (learning cost 4.34375)

```python
1   import random
2   random.randint(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/random/randint` | 2 |
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `016.1530-depth-first-traversing-of-a-binary-tree.py` (learning cost 11.34375)

```python
1   def dfs(bt):
2       if bt is None:
3           return
4       dfs(bt.left)
5       f(bt)
6       dfs(bt.right)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 4, 5, 6 |
| 0.75 | `condition/identity` | 2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.875 | `def/subroutine/procedure` | 1-6 |
| 0.9375 | `def/subroutine/recursive/body` | 1-6 |
| 0.96875 | `def/subroutine/recursive/call_count/2` | 1-6 |
| 0.9375 | `def/subroutine/return/nothing` | 3 |
| 0.875 | `flow/conditional/guard` | 2-3 |
| 0.875 | `flow/conditional/no_else` | 2-3 |
| 0.75 | `style/procedural` | 1-6 |
| 0.875 | `type/null/literal` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/local` | 1-6 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/subroutine/sloc/6` | 1-6 |
| 0 | `meta/count/variety/4` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `017.1103-create-a-tree-data-structure.py` (learning cost 12.671875)

```python
1   class Node(object):
2       def __init__(self, value, *children):
3           self.value = value
4           self.children = list(children)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/list` | 4 |
| 0.75 | `def/class` | 1-4 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-4 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-4 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.9375 | `def/subroutine/parameter/vararg` | 2 |
| 0.875 | `def/subroutine/procedure` | 2-4 |
| 0.75 | `style/object_oriented` | 1-4 |
| 0.875 | `type/sequence/list` | 4 |
| 0.875 | `var/assignment/explicit` | 3, 4 |
| 0.9375 | `var/assignment/implicit/parameter` | 2 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2 |
| 0.96875 | `var/assignment/implicit/parameter/vararg` | 2 |
| 0.875 | `var/scope/local` | 2-4 |
| 0 | `meta/count/class/methods/1` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/subroutine/sloc/3` | 2-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `018.2084-depth-first-traversing-of-a-tree.py` (learning cost 12.46875)

```python
1   def DFS(f, root):
2       f(root)
3       for child in root:
4           DFS(f, child)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 4 |
| 0.75 | `call/subroutine` | 2 |
| 0.875 | `def/subroutine/higher_order` | 1-4 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.875 | `def/subroutine/procedure` | 1-4 |
| 0.9375 | `def/subroutine/recursive/body` | 1-4 |
| 0.96875 | `def/subroutine/recursive/call_count/1` | 1-4 |
| 0.9375 | `flow/loop/exit/late` | 3-4 |
| 0.9375 | `flow/loop/for/elements` | 3-4 |
| 0.875 | `style/functional_trait/higher_order` | 1-4 |
| 0.75 | `style/procedural` | 1-4 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 3 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/subroutine/sloc/4` | 1-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `019.0197-reverse-a-list.py` (learning cost 4.375)

```python
1   x = reversed(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/reversed` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `019.1983-reverse-a-list.py` (learning cost 5.3125)

```python
1   y = x[::-1]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `subscript/slice/step/backwards` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `019.3164-reverse-a-list.py` (learning cost 3.484375)

```python
1   x.reverse()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/list/reverse` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `020.0573-return-two-values.py` (learning cost 13.4375)

```python
1   def search(m, x):
2       for idx, item in enumerate(m):
3           if x in item:
4               return idx, item.index(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/enumerate` | 2 |
| 0.96875 | `call/subroutine/method/sequence_duck/index` | 4 |
| 0.75 | `condition/belonging` | 3 |
| 0.9375 | `def/subroutine/function/impure` | 1-4 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.9375 | `def/subroutine/return/something` | 4 |
| 0.875 | `flow/conditional/no_else` | 3-4 |
| 0.96875 | `flow/loop/exit/early/return` | 2-4 |
| 0.9375 | `flow/loop/for/indexes_and_elements` | 2-4 |
| 0.75 | `style/procedural` | 1-4 |
| 0.75 | `type/sequence` | 4 |
| 0.9375 | `type/sequence/tuple/literal` | 2, 4 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 2, 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/subroutine/sloc/4` | 1-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `021.0084-swap-values-of-variables-a-and-b.py` (learning cost 4.40625)

```python
1   a, b = b, a
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/tuple/literal` | 1, 1 |
| 0.96875 | `var/assignment/explicit/parallel/swap` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `022.0243-convert-string-to-integer.py` (learning cost 5.28125)

```python
1   i = int(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/int` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/integer` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `023.1102-convert-real-number-to-string-with-2-decimal-places.py` (learning cost 6.234375)

```python
1   s = "{:.2f}".format(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/format` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `024.0664-assign-to-string-the-japanese-word-.py` (learning cost 4.375)

```python
1   s = "ネコ"
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `025.0195-send-a-value-to-another-thread.py` (learning cost 19.0625)

```python
1   from queue import Queue
2   from threading import Thread
3   q = Queue()
4   def worker():
5       while True:
6           print(f"Hello, {q.get()}")
7           q.task_done()
8   Thread(target=worker, daemon=True).start()
9   q.put("Alan")
10  q.join()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 3, 8 |
| 0.75 | `call/composition` | 6 |
| 0.9375 | `call/subroutine/builtin/print` | 6 |
| 0.875 | `call/subroutine/method` | 7, 8, 9 |
| 0.984375 | `call/subroutine/method/non_sequence/dictionary/get` | 6 |
| 0.984375 | `call/subroutine/method/sequence/string/join` | 10 |
| 0.9375 | `def/subroutine/parameter/no` | 4-7 |
| 0.875 | `def/subroutine/procedure` | 4-7 |
| 0.9375 | `flow/loop/exit/late` | 5-7 |
| 0.9375 | `flow/loop/while/infinite` | 5-7 |
| 0.9375 | `import/standard/queue/Queue` | 1 |
| 0.9375 | `import/standard/threading/Thread` | 2 |
| 0.75 | `style/procedural` | 1-10 |
| 0.9375 | `type/boolean/literal/True` | 5, 8 |
| 0.875 | `type/non_sequence/dictionary` | 6 |
| 0.875 | `type/sequence/string` | 10 |
| 0.9375 | `type/sequence/string/literal` | 6, 9 |
| 0.96875 | `type/sequence/string/literal/formatted` | 6 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-10 |
| 0.9375 | `var/scope/outer/variable` | 4-7 |
| 0 | `meta/count/program/sloc/10` | 1-10 |
| 0 | `meta/count/subroutine/sloc/4` | 4-7 |
| 0 | `meta/count/variety/5` | 1-10 |
| 0 | `meta/program` | 1-10 |

---

### Program `026.0194-create-a-2-dimensional-array.py` (learning cost 7.03125)

```python
1   x = [[0 for j in xrange(n)] for i in xrange(m)]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 1, 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.96875 | `type/number/integer/literal/zero` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 1 |
| 0.875 | `var/scope/local` | 1, 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `027.0192-create-a-3-dimensional-array.py` (learning cost 7.03125)

```python
1   x = [[[0 for k in xrange(p)] for j in xrange(n)] for i in xrange(m)]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 1, 1, 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.96875 | `type/number/integer/literal/zero` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1, 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 1, 1 |
| 0.875 | `var/scope/local` | 1, 1, 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `027.0193-create-a-3-dimensional-array.py` (learning cost 6.125)

```python
1   import numpy
2   x = numpy.zeros((m, n, p))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/third_party/numpy` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/tuple/literal` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `028.0350-sort-by-a-property.py` (learning cost 7.1875)

```python
1   items = sorted(items, key=lambda x: x.p)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/sorted` | 1 |
| 0.9375 | `def/subroutine/function/anonymous` | 1 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `029.0199-remove-item-from-list-by-its-index.py` (learning cost 3.25)

```python
1   del items[i]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `subscript/index` | 1 |
| 0.875 | `var/deletion/index` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `030.0189-parallelize-execution-of-1000-independent-tasks.py` (learning cost 11.78125)

```python
1   from multiprocessing import Pool
2   pool = Pool()
3   for i in range(1, 1001):
4       pool.apply_async(f, [i])
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 2 |
| 0.9375 | `call/subroutine/builtin/range` | 3 |
| 0.875 | `call/subroutine/method` | 4 |
| 0.9375 | `flow/loop/exit/late` | 3-4 |
| 0.96875 | `flow/loop/for/arithmetic/start` | 3-4 |
| 0.9375 | `import/standard/multiprocessing/Pool` | 1 |
| 0.75 | `style/imperative` | 1-4 |
| 0.9375 | `type/number/integer/literal` | 3, 3 |
| 0.875 | `type/number/magic` | 3 |
| 0.9375 | `type/sequence/list/literal` | 4 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 3 |
| 0.875 | `var/scope/global` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `031.0188-recursive-factorial-simple.py` (learning cost 14.9375)

```python
1   def f(i):
2       if i == 0:
3           return 1
4       else:
5           return i * f(i - 1)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 5 |
| 0.75 | `condition/equality` | 2 |
| 0.9375 | `def/subroutine/function/pure` | 1-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 1 |
| 0.9375 | `def/subroutine/recursive/body` | 1-5 |
| 0.96875 | `def/subroutine/recursive/call_count/1` | 1-5 |
| 0.9375 | `def/subroutine/return/something` | 5 |
| 0.75 | `flow/conditional` | 2-5 |
| 0.875 | `flow/conditional/else` | 5 |
| 0.875 | `operator/arithmetic/multiplication` | 5 |
| 0.875 | `operator/arithmetic/substraction` | 5 |
| 0.75 | `style/functional` | 1-5 |
| 0.875 | `style/functional_trait/pure_function` | 1-5 |
| 0.9375 | `type/number/integer/literal` | 3, 5 |
| 0.96875 | `type/number/integer/literal/zero` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1 |
| 0.875 | `var/scope/local` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/subroutine/sloc/5` | 1-5 |
| 0 | `meta/count/variety/3` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `032.0196-integer-exponentiation-by-squaring.py` (learning cost 7.875)

```python
1   def exp(x, n):
2       return x ** n
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.875 | `operator/arithmetic/power` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `033.1420-atomically-read-and-update-variable.py` (learning cost 5.1875)

```python
1   import threading
2   lock = threading.Lock()
3   lock.acquire()
4   try:
5       x = f(x)
6   finally:
7       lock.release()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 5 |
| 0.875 | `call/subroutine/method` | 3, 7 |
| 0.875 | `import/standard/threading` | 1 |
| 0.875 | `style/imperative/flat` | 1-7 |
| 0.9375 | `var/assignment/explicit/single` | 2, 5 |
| 0.875 | `var/scope/global` | 1-7 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/variety/2` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `034.0625-create-a-set-of-objects.py` (learning cost 7.53125)

```python
1   class T(object):
2       pass
3   x = set(T())
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 3 |
| 0.75 | `call/composition` | 3 |
| 0.96875 | `call/subroutine/builtin/casting/set` | 3 |
| 0.75 | `def/class` | 1-2 |
| 0.75 | `flow/no_operation` | 2 |
| 0.75 | `style/object_oriented` | 1-3 |
| 0.875 | `type/non_sequence/set` | 3 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `035.0667-first-class-function--compose.py` (learning cost 11.1875)

```python
1   def compose(f, g):
2       return lambda a: g(f(a))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 2 |
| 0.75 | `call/subroutine` | 2, 2 |
| 0.9375 | `def/subroutine/function/anonymous` | 2 |
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.875 | `def/subroutine/higher_order` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1, 2 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/higher_order` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1, 2 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `036.0670-first-class-function--generic-composition.py` (learning cost 11.1875)

```python
1   def compose(f, g):
2       return lambda x: g(f(x))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 2 |
| 0.75 | `call/subroutine` | 2, 2 |
| 0.9375 | `def/subroutine/function/anonymous` | 2 |
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.875 | `def/subroutine/higher_order` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1, 2 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/higher_order` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1, 2 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `037.0671-currying.py` (learning cost 13.3125)

```python
1   from functools import partial
2   def f(a):
3       def add(b):
4           return a + b
5       return add
6   print(f(2)(1))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 6 |
| 0.75 | `call/subroutine` | 6 |
| 0.9375 | `call/subroutine/builtin/print` | 6 |
| 0.9375 | `def/subroutine/function/pure` | 2-5, 3-4 |
| 0.9375 | `def/subroutine/nested/closure` | 2-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 3 |
| 0.9375 | `def/subroutine/return/something` | 4 |
| 0.9375 | `import/standard/functools/partial` | 1 |
| 0.875 | `operator/arithmetic/addition` | 4 |
| 0.75 | `style/functional` | 1-6 |
| 0.875 | `style/functional_trait/pure_function` | 2-5, 3-4 |
| 0.9375 | `type/number/integer/literal` | 6, 6 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 3 |
| 0.875 | `var/scope/local` | 2-5, 3-4 |
| 0.9375 | `var/scope/outer/variable` | 3-4 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/subroutine/sloc/2` | 3-4 |
| 0 | `meta/count/subroutine/sloc/4` | 2-5 |
| 0 | `meta/count/variety/3` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `038.0186-extract-a-substring.py` (learning cost 5.1875)

```python
1   t = s[i:j]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `subscript/slice/start` | 1 |
| 0.875 | `subscript/slice/stop` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `039.0571-check-if-string-contains-a-word.py` (learning cost 4.1875)

```python
1   ok = word in s
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `040.2279-graph-with-adjacency-lists.py` (learning cost 27.96875)

```python
1   from collections import defaultdict
2   class Vertex(set):
3       pass
4   class Graph(defaultdict):
5       def __init__(self, *paths):
6           self.default_factory = Vertex
7           for path in paths:
8               self.make_path(path)
9       def make_path(self, labels):
10          for l1, l2 in zip(labels, labels[1:]):
11              self[l1].add(l2)
12              self[l2].add(l1)
13  G = Graph((0, 1, 2, 3), (1, 4, 2))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 13 |
| 0.9375 | `call/subroutine/builtin/zip` | 10 |
| 0.875 | `call/subroutine/method` | 8 |
| 0.984375 | `call/subroutine/method/non_sequence/set/add` | 11, 12 |
| 0.75 | `def/class` | 2-3, 4-12 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 5-8, 9-12 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 5-8 |
| 0.9375 | `def/subroutine/parameter/arg` | 5, 9, 9 |
| 0.9375 | `def/subroutine/parameter/vararg` | 5 |
| 0.875 | `def/subroutine/procedure` | 5-8, 9-12 |
| 0.9375 | `flow/loop/exit/late` | 7-8, 10-12 |
| 0.875 | `flow/loop/for` | 10-12 |
| 0.9375 | `flow/loop/for/elements` | 7-8 |
| 0.75 | `flow/no_operation` | 3 |
| 0.9375 | `import/standard/collections/defaultdict` | 1 |
| 0.75 | `style/object_oriented` | 1-13 |
| 0.75 | `subscript/index` | 11, 12 |
| 0.875 | `subscript/slice/start` | 10 |
| 0.875 | `type/non_sequence/set` | 11, 12 |
| 0.9375 | `type/number/integer/literal` | 10, 13, 13, 13, 13, 13, 13 |
| 0.96875 | `type/number/integer/literal/zero` | 13 |
| 0.9375 | `type/sequence/tuple/literal` | 10, 13, 13 |
| 0.875 | `var/assignment/explicit` | 6 |
| 0.9375 | `var/assignment/explicit/constant` | 13 |
| 0.9375 | `var/assignment/explicit/single` | 13 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 7, 10, 10 |
| 0.9375 | `var/assignment/implicit/parameter` | 9 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 5, 9 |
| 0.96875 | `var/assignment/implicit/parameter/vararg` | 5 |
| 0.875 | `var/scope/global` | 1-13 |
| 0.875 | `var/scope/local` | 5-8, 9-12 |
| 0 | `meta/count/class/methods/2` | 2-3, 4-12 |
| 0 | `meta/count/program/sloc/13` | 1-13 |
| 0 | `meta/count/subroutine/sloc/4` | 5-8, 9-12 |
| 0 | `meta/count/variety/4` | 1-13 |
| 0 | `meta/program` | 1-13 |

---

### Program `041.0187-reverse-a-string.py` (learning cost 8.984375)

```python
1   t = s.decode("utf8")[::-1].encode("utf8")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 1 |
| 0.984375 | `call/subroutine/method/sequence/string/encode` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `subscript/slice/step/backwards` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `041.2714-reverse-a-string.py` (learning cost 5.3125)

```python
1   t = s[::-1]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `subscript/slice/step/backwards` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `042.1264-continue-outer-loop.py` (learning cost 11.6875)

```python
1   for v in a:
2       try:
3           for u in b:
4               if v == u:
5                   raise Exception()
6           print(v)
7       except Exception:
8           continue
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/exception/builtin/Exception` | 5 |
| 0.9375 | `call/subroutine/builtin/print` | 6 |
| 0.75 | `condition/equality` | 4 |
| 0.875 | `flow/conditional/no_else` | 4-5 |
| 0.9375 | `flow/exception/catch/Exception` | 2-8 |
| 0.9375 | `flow/exception/raise/Exception` | 2-8 |
| 0.875 | `flow/loop/continue` | 8 |
| 0.96875 | `flow/loop/exit/early/raise` | 1-8, 3-5 |
| 0.9375 | `flow/loop/for/elements` | 1-8, 3-5 |
| 0.96875 | `flow/loop/for/nested/1` | 3-5 |
| 0.75 | `style/imperative` | 1-8 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 3 |
| 0.875 | `var/scope/global` | 1-8 |
| 0 | `meta/count/program/sloc/8` | 1-8 |
| 0 | `meta/count/variety/4` | 1-8 |
| 0 | `meta/program` | 1-8 |

---

### Program `042.3168-continue-outer-loop.py` (learning cost 8.84375)

```python
1   for v in a:
2       for v_ in b:
3           if v == v_:
4               continue
5           print(v)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 5 |
| 0.75 | `condition/equality` | 3 |
| 0.875 | `flow/conditional/no_else` | 3-4 |
| 0.875 | `flow/loop/continue` | 4 |
| 0.9375 | `flow/loop/exit/late` | 1-5, 2-5 |
| 0.9375 | `flow/loop/for/elements` | 1-5, 2-5 |
| 0.96875 | `flow/loop/for/nested/1` | 2-5 |
| 0.75 | `style/imperative` | 1-5 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 2 |
| 0.875 | `var/scope/global` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/variety/3` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `043.0676-break-outer-loop.py` (learning cost 14.875)

```python
1   class BreakOuterLoop(Exception):
2       pass
3   try:
4       position = None
5       for row in m:
6           for column in m[row]:
7               if m[row][column] == v:
8                   position = (row, column)
9                   raise BreakOuterLoop
10  except BreakOuterLoop:
11      pass
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/equality` | 7 |
| 0.75 | `def/class` | 1-2 |
| 0.875 | `flow/conditional/no_else` | 7-9 |
| 0.9375 | `flow/exception/catch/` | 3-11 |
| 0.9375 | `flow/exception/raise/` | 3-11 |
| 0.96875 | `flow/loop/exit/early/raise` | 5-9, 6-9 |
| 0.9375 | `flow/loop/for/elements` | 5-9 |
| 0.96875 | `flow/loop/for/nested/1` | 6-9 |
| 0.75 | `flow/no_operation` | 2, 11 |
| 0.75 | `style/object_oriented` | 1-11 |
| 0.75 | `subscript/index` | 6, 7 |
| 0.9375 | `subscript/index/shape/2` | 7 |
| 0.875 | `type/null/literal` | 4 |
| 0.9375 | `type/sequence/tuple/literal` | 8 |
| 0.9375 | `var/assignment/explicit/single` | 4, 8 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 5, 6 |
| 0.875 | `var/scope/global` | 1-11 |
| 0 | `meta/count/program/sloc/11` | 1-11 |
| 0 | `meta/count/variety/5` | 1-11 |
| 0 | `meta/program` | 1-11 |

---

### Program `043.2733-break-outer-loop.py` (learning cost 19.6875)

```python
1   def loop_breaking(m, v):
2       for i, row in enumerate(m):
3           for j, value in enumerate(row):
4               if value == v:
5                   return (i, j)
6       return None
7   print(loop_breaking(([1, 2, 3], [4, 5, 6], [7, 8, 9]), 6))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 7 |
| 0.75 | `call/subroutine` | 7 |
| 0.9375 | `call/subroutine/builtin/enumerate` | 2, 3 |
| 0.9375 | `call/subroutine/builtin/print` | 7 |
| 0.75 | `condition/equality` | 4 |
| 0.9375 | `def/subroutine/function/impure` | 1-6 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.9375 | `def/subroutine/return/nothing` | 6 |
| 0.9375 | `def/subroutine/return/something` | 5 |
| 0.875 | `flow/conditional/no_else` | 4-5 |
| 0.96875 | `flow/loop/exit/early/return` | 2-5, 3-5 |
| 0.9375 | `flow/loop/for/indexes_and_elements` | 2-5, 3-5 |
| 0.96875 | `flow/loop/for/nested/1` | 3-5 |
| 0.75 | `style/procedural` | 1-7 |
| 0.875 | `type/null/literal` | 6 |
| 0.9375 | `type/number/integer/literal` | 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 |
| 0.875 | `type/number/magic` | 7, 7, 7, 7, 7, 7, 7, 7 |
| 0.9375 | `type/sequence/list/literal` | 7, 7, 7 |
| 0.9375 | `type/sequence/tuple/literal` | 2, 3, 5, 7 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 2, 2, 3, 3 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-6 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/subroutine/sloc/6` | 1-6 |
| 0 | `meta/count/variety/2` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `044.0190-insert-element-in-list.py` (learning cost 3.484375)

```python
1   s.insert(i, x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/list/insert` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `045.0570-pause-execution-for-5-seconds.py` (learning cost 6.15625)

```python
1   import time
2   time.sleep(5)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/time/sleep` | 2 |
| 0.875 | `import/standard/time` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.875 | `type/number/magic` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `046.0191-extract-beginning-of-string-prefix.py` (learning cost 6.125)

```python
1   t = s[:5]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `subscript/slice/stop` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `047.0198-extract-string-suffix.py` (learning cost 6.125)

```python
1   t = s[-5:]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `subscript/slice/start` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `048.0210-multi-line-string-literal.py` (learning cost 4.421875)

```python
1   s = """Huey
2   Dewey
3   Louie"""
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.984375 | `type/sequence/string/literal/special/\n` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `049.0242-split-a-space-separated-string.py` (learning cost 5.296875)

```python
1   chunks = s.split()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/split` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `050.0572-make-an-infinite-loop.py` (learning cost 4.3125)

```python
1   while True:
2       pass
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.9375 | `flow/loop/while/infinite` | 1-2 |
| 0.75 | `flow/no_operation` | 2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `type/boolean/literal/True` | 1 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `051.0230-check-if-map-contains-key.py` (learning cost 2.375)

```python
1   k in m
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `052.0666-check-if-map-contains-value.py` (learning cost 4.234375)

```python
1   v in map.values()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/non_sequence/dictionary/values` | 1 |
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/non_sequence/dictionary` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `053.0240-join-a-list-of-strings.py` (learning cost 6.234375)

```python
1   y = ", ".join(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/join` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `053.1933-join-a-list-of-strings.py` (learning cost 8.796875)

```python
1   y = ", ".join(map(str, x))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1 |
| 0.9375 | `call/subroutine/builtin/map` | 1 |
| 0.984375 | `call/subroutine/method/sequence/string/join` | 1 |
| 0.875 | `style/functional_trait/map` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `054.0241-compute-sum-of-integers.py` (learning cost 4.375)

```python
1   s = sum(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/sum` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `055.0575-convert-integer-to-string.py` (learning cost 5.28125)

```python
1   s = str(i)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/str` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `056.1424-launch-1000-parallel-tasks-and-wait-for-completion.py` (learning cost 12.5625)

```python
1   from multiprocessing import Pool
2   def f(i):
3       i * i
4   with Pool(processes) as p:
5       p.map(func=f, iterable=range(1, 1001))
6   print("Finished")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 4 |
| 0.9375 | `call/subroutine/builtin/print` | 6 |
| 0.9375 | `call/subroutine/builtin/range` | 5 |
| 0.875 | `call/subroutine/method` | 5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2 |
| 0.875 | `def/subroutine/procedure` | 2-3 |
| 0.9375 | `import/standard/multiprocessing/Pool` | 1 |
| 0.875 | `operator/arithmetic/multiplication` | 3 |
| 0.75 | `style/procedural` | 1-6 |
| 0.9375 | `type/number/integer/literal` | 5, 5 |
| 0.875 | `type/number/magic` | 5 |
| 0.9375 | `type/sequence/string/literal` | 6 |
| 0.9375 | `var/assignment/implicit/parameter` | 2 |
| 0.875 | `var/scope/local` | 2-3 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/subroutine/sloc/2` | 2-3 |
| 0 | `meta/count/variety/3` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `057.0260-filter-list.py` (learning cost 5.25)

```python
1   y = filter(p, x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/filter` | 1 |
| 0.875 | `style/functional_trait/filter` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `057.3173-filter-list.py` (learning cost 6.0625)

```python
1   y = [element for element in x if p(element)]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/local` | 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `058.0665-extract-file-content-to-a-string.py` (learning cost 5.25)

```python
1   lines = open(f).read()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/open` | 1 |
| 0.875 | `call/subroutine/method` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `059.0668-write-to-standard-error-stream.py` (learning cost 4.40625)

```python
1   import sys
2   print(x, "is negative", file=sys.stderr)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/print/file` | 2 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `060.1084-read-command-line-argument.py` (learning cost 6.0)

```python
1   import sys
2   x = sys.argv[1]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.75 | `subscript/index` | 2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `061.0576-get-current-date.py` (learning cost 5.1875)

```python
1   import datetime
2   d = datetime.datetime.now()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/datetime` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `062.1091-find-substring-position.py` (learning cost 5.296875)

```python
1   i = x.find(y)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/find` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `063.1088-replace-fragment-of-a-string.py` (learning cost 5.296875)

```python
1   x2 = x.replace(y, z)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/replace` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `064.0274-big-integer--value-3-power-247.py` (learning cost 6.125)

```python
1   x = 3 ** 247
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/power` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/integer/literal` | 1, 1 |
| 0.875 | `type/number/magic` | 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `065.1085-format-decimal-number.py` (learning cost 6.234375)

```python
1   s = "{:.1%}".format(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/format` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `066.0672-big-integer-exponentiation.py` (learning cost 4.3125)

```python
1   z = x ** n
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/power` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `067.1426-binomial-coefficient-n-choose-k.py` (learning cost 10.5)

```python
1   import math
2   def binom(n, k):
3       return math.factorial(n) // math.factorial(k) // math.factorial(n - k)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3, 3, 3 |
| 0.9375 | `def/subroutine/function/pure` | 2-3 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.9375 | `def/subroutine/return/something` | 3 |
| 0.875 | `import/standard/math` | 1 |
| 0.875 | `operator/arithmetic/integer_division` | 3, 3 |
| 0.875 | `operator/arithmetic/substraction` | 3 |
| 0.75 | `style/functional` | 1-3 |
| 0.875 | `style/functional_trait/pure_function` | 2-3 |
| 0.75 | `style/one_liner` | 1-3 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2 |
| 0.875 | `var/scope/local` | 2-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/subroutine/sloc/2` | 2-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `068.2271-create-a-bitset.py` (learning cost 12.375)

```python
1   from __future__ import division
2   import math
3   x = bytearray(int(math.ceil(n / 8.0)))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 3, 3 |
| 0.96875 | `call/subroutine/builtin/casting/bytearray` | 3 |
| 0.96875 | `call/subroutine/builtin/casting/int` | 3 |
| 0.875 | `call/subroutine/method` | 3 |
| 0.9375 | `import/standard/__future__/division` | 1 |
| 0.875 | `import/standard/math` | 2 |
| 0.875 | `operator/arithmetic/division` | 3 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.75 | `style/one_liner` | 1-3 |
| 0.9375 | `type/number/floating_point/literal` | 3 |
| 0.875 | `type/number/integer` | 3 |
| 0.875 | `type/number/magic` | 3 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `069.1086-seed-random-generator.py` (learning cost 4.3125)

```python
1   import random
2   rand = random.Random(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `070.1087-use-clock-as-random-generator-seed.py` (learning cost 4.3125)

```python
1   import random
2   rand = random.Random()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `071.0379-echo-program-implementation.py` (learning cost 8.796875)

```python
1   import sys
2   print(" ".join(sys.argv[1:]))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 2 |
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.984375 | `call/subroutine/method/sequence/string/join` | 2 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.875 | `subscript/slice/start` | 2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.875 | `type/sequence/string` | 2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `073.0673-create-a-factory.py` (learning cost 10.5625)

```python
1   def fact(a_class, str_):
2       if issubclass(a_class, Parent):
3           return a_class(str_)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 3 |
| 0.9375 | `call/subroutine/builtin/issubclass` | 2 |
| 0.9375 | `def/subroutine/function/pure` | 1-3 |
| 0.875 | `def/subroutine/higher_order` | 1-3 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.9375 | `def/subroutine/return/something` | 3 |
| 0.875 | `flow/conditional/no_else` | 2-3 |
| 0.75 | `style/functional` | 1-3 |
| 0.875 | `style/functional_trait/higher_order` | 1-3 |
| 0.875 | `style/functional_trait/pure_function` | 1-3 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/subroutine/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `074.0674-compute-gcd.py` (learning cost 5.125)

```python
1   from fractions import gcd
2   x = gcd(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.9375 | `import/standard/fractions/gcd` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `075.0675-compute-lcm.py` (learning cost 6.875)

```python
1   from fractions import gcd
2   x = (a * b) // gcd(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.9375 | `import/standard/fractions/gcd` | 1 |
| 0.875 | `operator/arithmetic/integer_division` | 2 |
| 0.875 | `operator/arithmetic/multiplication` | 2 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `076.1083-binary-digits-from-an-integer.py` (learning cost 6.234375)

```python
1   s = "{:b}".format(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/format` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `077.1093-complex-number.py` (learning cost 6.3125)

```python
1   x = 3j - 2
2   y = x * 1j
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/multiplication` | 2 |
| 0.875 | `operator/arithmetic/substraction` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.9375 | `type/number/complex/literal` | 1, 2 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1, 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `078.1089-do-while-loop.py` (learning cost 6.21875)

```python
1   while True:
2       do_something()
3       if not c:
4           break
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/no_arguments` | 2 |
| 0.875 | `flow/conditional/no_else` | 3-4 |
| 0.96875 | `flow/loop/exit/early/break` | 1-4 |
| 0.9375 | `flow/loop/while/infinite` | 1-4 |
| 0.875 | `operator/boolean/not` | 3 |
| 0.75 | `style/imperative` | 1-4 |
| 0.9375 | `type/boolean/literal/True` | 1 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/variety/4` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `079.1090-convert-integer-to-floating-point-number.py` (learning cost 5.28125)

```python
1   y = float(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/float` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/floating_point` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `080.1092-truncate-floating-point-number-to-integer.py` (learning cost 5.28125)

```python
1   y = int(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/int` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/integer` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `081.2270-round-floating-point-number-to-integer.py` (learning cost 7.96875)

```python
1   y = int(x + 0.5)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/int` | 1 |
| 0.875 | `operator/arithmetic/addition` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/floating_point/literal` | 1 |
| 0.875 | `type/number/integer` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `082.1096-count-substring-occurrences.py` (learning cost 5.15625)

```python
1   count = s.count(t)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/method/sequence_duck/count` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `type/sequence` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `083.1805-regex-with-character-repetition.py` (learning cost 6.125)

```python
1   import re
2   r = re.compile(r"htt+p")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/re` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `084.1940-count-bits-set-in-integer-binary-representation.py` (learning cost 7.03125)

```python
1   c = bin(i).count("1")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/bin` | 1 |
| 0.96875 | `call/subroutine/method/sequence_duck/count` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `type/sequence` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `085.1003-check-if-integer-addition-will-overflow.py` (learning cost 7.0)

```python
1   def adding_will_overflow(x, y):
2       return False
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/boolean/literal/False` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `086.1004-check-if-integer-multiplication-will-overflow.py` (learning cost 7.0)

```python
1   def multiplyWillOverflow(x, y):
2       return False
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/boolean/literal/False` | 2 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `087.1139-stop-program.py` (learning cost 5.28125)

```python
1   import sys
2   sys.exit(1)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/sys/exit` | 2 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `088.2143-allocate-1m-bytes.py` (learning cost 6.21875)

```python
1   buf = bytearray(1000000)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/bytearray` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.875 | `type/number/magic` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `089.1097-handle-invalid-argument.py` (learning cost 3.5)

```python
1   raise ValueError("x is invalid")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/exception/builtin/ValueError` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `090.1099-read-only-outside.py` (learning cost 11.640625)

```python
1   class Foo(object):
2       def __init__(self):
3           self._x = 0
4       @property
5       def x(self):
6           return self._x
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 1-6 |
| 0.875 | `def/subroutine/decorated` | 5-6 |
| 0.875 | `def/subroutine/function` | 5-6 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-3, 5-6 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-3 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 5 |
| 0.875 | `def/subroutine/procedure` | 2-3 |
| 0.9375 | `def/subroutine/return/something` | 6 |
| 0.75 | `style/object_oriented` | 1-6 |
| 0.96875 | `type/number/integer/literal/zero` | 3 |
| 0.875 | `var/assignment/explicit` | 3 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2, 5 |
| 0.875 | `var/scope/local` | 2-3, 5-6 |
| 0 | `meta/count/class/methods/2` | 1-6 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/subroutine/sloc/2` | 2-3, 5-6 |
| 0 | `meta/count/variety/4` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `091.1098-load-json-file-into-struct.py` (learning cost 6.3125)

```python
1   import json
2   with open("data.json", "r") as input:
3       x = json.load(input)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/open` | 2 |
| 0.875 | `call/subroutine/method` | 3 |
| 0.875 | `import/standard/json` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `type/sequence/string/literal` | 2, 2 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `092.1100-save-object-into-json-file.py` (learning cost 5.46875)

```python
1   import json
2   with open("data.json", "w") as output:
3       json.dump(x, output)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/open` | 2 |
| 0.875 | `call/subroutine/method` | 3 |
| 0.96875 | `call/subroutine/method/json/dump` | 3 |
| 0.875 | `import/standard/json` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `type/sequence/string/literal` | 2, 2 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `093.1082-pass-a-runnable-procedure-as-parameter.py` (learning cost 10.5625)

```python
1   from __future__ import print_function
2   def control(f):
3       return f()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/no_arguments` | 3 |
| 0.9375 | `def/subroutine/function/pure` | 2-3 |
| 0.875 | `def/subroutine/higher_order` | 2-3 |
| 0.9375 | `def/subroutine/parameter/arg` | 2 |
| 0.9375 | `def/subroutine/return/something` | 3 |
| 0.9375 | `import/standard/__future__/print_function` | 1 |
| 0.75 | `style/functional` | 1-3 |
| 0.875 | `style/functional_trait/higher_order` | 2-3 |
| 0.875 | `style/functional_trait/pure_function` | 2-3 |
| 0.75 | `style/one_liner` | 1-3 |
| 0.9375 | `var/assignment/implicit/parameter` | 2 |
| 0.875 | `var/scope/local` | 2-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/subroutine/sloc/2` | 2-3 |
| 0 | `meta/count/variety/3` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `094.1101-print-type-of-variable.py` (learning cost 4.25)

```python
1   print(type(x))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1 |
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.9375 | `call/subroutine/builtin/type` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `094.1864-print-type-of-variable.py` (learning cost 2.5625)

```python
1   print(x.__class__)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `095.2140-get-file-size.py` (learning cost 5.1875)

```python
1   import os
2   x = os.path.getsize(path)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `096.1094-check-string-prefix.py` (learning cost 5.296875)

```python
1   b = s.startswith(prefix)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/startswith` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `097.1095-check-string-suffix.py` (learning cost 5.296875)

```python
1   b = s.endswith(suffix)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/endswith` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `098.2142-epoch-seconds-to-date-object.py` (learning cost 5.1875)

```python
1   import datetime
2   d = datetime.date.fromtimestamp(ts)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/datetime` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `099.1429-format-date-yyyy-mm-dd.py` (learning cost 8.0)

```python
1   from datetime import date
2   d = date(2016, 9, 28)
3   x = d.strftime("%Y-%m-%d")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.875 | `call/subroutine/method` | 3 |
| 0.9375 | `import/standard/datetime/date` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `type/number/integer/literal` | 2, 2, 2 |
| 0.875 | `type/number/magic` | 2, 2, 2 |
| 0.9375 | `type/sequence/string/literal` | 3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `099.2693-format-date-yyyy-mm-dd.py` (learning cost 4.5)

```python
1   from datetime import date
2   d = date.today()
3   x = d.isoformat()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2, 3 |
| 0.9375 | `import/standard/datetime/date` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `100.1142-sort-by-a-comparator.py` (learning cost 3.484375)

```python
1   items.sort(c)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/list/sort` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `101.2172-load-from-http-get-request-into-a-string.py` (learning cost 4.4375)

```python
1   import urllib.request
2   with urllib.request.urlopen(u) as f:
3       s = f.read()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2, 3 |
| 0.875 | `import/standard/urllib.request` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `102.2173-load-from-http-get-request-into-a-file.py` (learning cost 7.0625)

```python
1   import urllib
2   filename, headers = urllib.request.urlretrieve(u, "result.txt")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/urllib` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `type/sequence/tuple/literal` | 2 |
| 0.9375 | `var/assignment/explicit/parallel` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `103.2276-load-xml-file-into-struct.py` (learning cost 6.125)

```python
1   import lxml.etree
2   x = lxml.etree.parse("data.xml")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/third_party/lxml.etree` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `104.3264-save-object-into-xml-file.py` (learning cost 16.984375)

```python
1   import pyxser as pyx
2   class TestClass(object):
3       a = None
4       b = None
5       c = None
6       def __init__(self, a, b, c):
7           self.a = a
8           self.b = b
9           self.c = c
10  tst = TestClass("var_a", "var_b", "var_c")
11  ser = pyx.serialize(obj=tst, enc="utf-8")
12  print(ser)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 10 |
| 0.9375 | `call/subroutine/builtin/print` | 12 |
| 0.875 | `call/subroutine/method` | 11 |
| 0.75 | `def/class` | 2-9 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 6-9 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 6-9 |
| 0.9375 | `def/subroutine/parameter/arg` | 6, 6, 6, 6 |
| 0.875 | `def/subroutine/procedure` | 6-9 |
| 0.875 | `import/third_party/pyxser` | 1 |
| 0.75 | `style/object_oriented` | 1-12 |
| 0.875 | `type/null/literal` | 3, 4, 5 |
| 0.9375 | `type/sequence/string/literal` | 10, 10, 10, 11 |
| 0.875 | `var/assignment/explicit` | 7, 8, 9 |
| 0.9375 | `var/assignment/explicit/single` | 3, 4, 5, 10, 11 |
| 0.9375 | `var/assignment/implicit/parameter` | 6, 6, 6 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 6 |
| 0.875 | `var/scope/global` | 1-12 |
| 0.875 | `var/scope/local` | 6-9 |
| 0.875 | `var/scope/shadowing` | 6-9 |
| 0 | `meta/count/class/methods/1` | 2-9 |
| 0 | `meta/count/program/sloc/12` | 1-12 |
| 0 | `meta/count/subroutine/sloc/4` | 6-9 |
| 0 | `meta/count/variety/3` | 1-12 |
| 0 | `meta/program` | 1-12 |

---

### Program `105.1804-current-executable-name.py` (learning cost 6.03125)

```python
1   import sys
2   s = sys.argv[0]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.75 | `subscript/index` | 2 |
| 0.96875 | `type/number/integer/literal/zero` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `106.2039-get-program-working-directory.py` (learning cost 5.1875)

```python
1   import os
2   dir = os.getcwd()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `107.2139-get-folder-containing-current-program.py` (learning cost 5.9375)

```python
1   import os
2   dir = os.path.dirname(os.path.abspath(__file__))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 2 |
| 0.875 | `call/subroutine/method` | 2, 2 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `108.1291-determine-if-variable-name-is-defined.py` (learning cost 6.0625)

```python
1   if "x" in locals():
2       print(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/locals` | 1 |
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.875 | `call/subroutine/no_arguments` | 1 |
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `flow/conditional/no_else` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `109.2280-number-of-bytes-of-a-type.py` (learning cost 5.1875)

```python
1   import pympler.asizeof
2   n = pympler.asizeof.asizeof(t)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/third_party/pympler.asizeof` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `110.1455-check-if-string-is-blank.py` (learning cost 7.015625)

```python
1   blank = s.strip() == ""
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/strip` | 1 |
| 0.75 | `condition/equality` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.96875 | `type/sequence/string/literal/empty` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `111.2168-launch-other-program.py` (learning cost 6.21875)

```python
1   import subprocess
2   subprocess.call(["x", "a", "b"])
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/subprocess/call` | 2 |
| 0.875 | `import/standard/subprocess` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/list/literal` | 2 |
| 0.9375 | `type/sequence/string/literal` | 2, 2, 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `112.2144-iterate-over-map-entries-ordered-by-keys.py` (learning cost 7.0)

```python
1   for k in sorted(mymap):
2       print(mymap[k])
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `call/subroutine/builtin/sorted` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.75 | `subscript/index` | 2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `113.2157-iterate-over-map-entries-ordered-by-values.py` (learning cost 12.484375)

```python
1   for x, k in sorted((x, k) for k, x in mymap.items()):
2       print(k, x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1 |
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `call/subroutine/builtin/sorted` | 1 |
| 0.984375 | `call/subroutine/method/non_sequence/dictionary/items` | 1 |
| 0.9375 | `def/subroutine/generator/expression` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.875 | `type/non_sequence/dictionary` | 1 |
| 0.9375 | `type/sequence/tuple/literal` | 1, 1, 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 1, 1, 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0.875 | `var/scope/local` | 1 |
| 0.875 | `var/scope/shadowing` | 1 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `114.2273-test-deep-equality.py` (learning cost 4.1875)

```python
1   b = x == y
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/equality` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `115.2138-compare-dates.py` (learning cost 5.0625)

```python
1   import datetime
2   b = d1 < d2
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/inequality` | 2 |
| 0.875 | `import/standard/datetime` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `116.1257-remove-occurrences-of-word-from-string.py` (learning cost 6.265625)

```python
1   s2 = s1.replace(w, "")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/replace` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.96875 | `type/sequence/string/literal/empty` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `117.1297-get-list-size.py` (learning cost 4.375)

```python
1   n = len(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/len` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `118.1254-list-to-set.py` (learning cost 5.28125)

```python
1   y = set(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/set` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/non_sequence/set` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `118.3266-list-to-set.py` (learning cost 3.46875)

```python
1   set(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/set` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/non_sequence/set` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `119.1253-deduplicate-list.py` (learning cost 7.875)

```python
1   x = list(set(x))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1 |
| 0.96875 | `call/subroutine/builtin/casting/list` | 1 |
| 0.96875 | `call/subroutine/builtin/casting/set` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/non_sequence/set` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `119.3263-deduplicate-list.py` (learning cost 19.28125)

```python
1   elements = ["b", "a", "b", "c"]
2   unique_set = set()
3   elements_unique = []
4   for i in elements:
5       if i not in unique_set:
6           unique_set.add(i)
7           elements_unique.append(i)
8   print(elements_unique)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/set` | 2 |
| 0.9375 | `call/subroutine/builtin/print` | 8 |
| 0.984375 | `call/subroutine/method/non_sequence/set/add` | 6 |
| 0.984375 | `call/subroutine/method/sequence/list/append` | 7 |
| 0.875 | `call/subroutine/no_arguments` | 2 |
| 0.875 | `condition/belonging/not` | 5 |
| 0.875 | `flow/conditional/no_else` | 5-7 |
| 0.9375 | `flow/loop/exit/late` | 4-7 |
| 0.9375 | `flow/loop/for/elements` | 4-7 |
| 0.9375 | `pattern/elements/accumulate/into_list` | 4-7 |
| 0.9375 | `pattern/elements/accumulate/into_set` | 4-7 |
| 0.9375 | `pattern/elements/accumulate/some` | 4-7 |
| 0.75 | `style/imperative` | 1-8 |
| 0.875 | `type/non_sequence/set` | 2, 6 |
| 0.875 | `type/sequence/list` | 7 |
| 0.9375 | `type/sequence/list/literal` | 1 |
| 0.96875 | `type/sequence/list/literal/empty` | 3 |
| 0.9375 | `type/sequence/string/literal` | 1, 1, 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1, 2, 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 4 |
| 0.875 | `var/scope/global` | 1-8 |
| 0 | `meta/count/program/sloc/8` | 1-8 |
| 0 | `meta/count/variety/3` | 1-8 |
| 0 | `meta/program` | 1-8 |

---

### Program `120.1479-read-integer-from-stdin.py` (learning cost 7.71875)

```python
1   input_var = int(raw_input("Input Prompting String: "))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1 |
| 0.75 | `call/subroutine` | 1 |
| 0.96875 | `call/subroutine/builtin/casting/int` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/integer` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `121.3029-udp-listen-and-read.py` (learning cost 13.625)

```python
1   import socket
2   UDP_IP = "127.0.0.1"
3   sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
4   sock.bind((UDP_IP, p))
5   while True:
6       data, addr = sock.recvfrom(1024)
7       print("received message:", data)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 7 |
| 0.875 | `call/subroutine/method` | 3, 4, 6 |
| 0.9375 | `flow/loop/exit/late` | 5-7 |
| 0.9375 | `flow/loop/while/infinite` | 5-7 |
| 0.875 | `import/standard/socket` | 1 |
| 0.75 | `style/imperative` | 1-7 |
| 0.9375 | `type/boolean/literal/True` | 5 |
| 0.9375 | `type/number/integer/literal` | 6 |
| 0.875 | `type/number/magic` | 6 |
| 0.9375 | `type/sequence/string/literal` | 2, 7 |
| 0.9375 | `type/sequence/tuple/literal` | 4, 6 |
| 0.9375 | `var/assignment/explicit/constant` | 2 |
| 0.9375 | `var/assignment/explicit/parallel` | 6 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3 |
| 0.875 | `var/scope/global` | 1-7 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/variety/2` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `122.1453-declare-enumeration.py` (learning cost 8.71875)

```python
1   class Suit:
2       SPADES, HEARTS, DIAMONDS, CLUBS = range(4)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/range` | 2 |
| 0.75 | `def/class` | 1-2 |
| 0.75 | `style/object_oriented` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.875 | `type/number/magic` | 2 |
| 0.9375 | `type/sequence/tuple/literal` | 2 |
| 0.9375 | `var/assignment/explicit/constant` | 2, 2, 2, 2 |
| 0.96875 | `var/assignment/explicit/parallel/more_than_two` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `122.1454-declare-enumeration.py` (learning cost 6.125)

```python
1   from enum import Enum
2   class Suit(Enum):
3       SPADES = 1
4       HEARTS = 2
5       DIAMONDS = 3
6       CLUBS = 4
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 2-6 |
| 0.9375 | `import/standard/enum/Enum` | 1 |
| 0.75 | `style/object_oriented` | 1-6 |
| 0.9375 | `type/number/integer/literal` | 3, 4, 5, 6 |
| 0.9375 | `var/assignment/explicit/constant` | 3, 4, 5, 6 |
| 0.9375 | `var/assignment/explicit/single` | 3, 4, 5, 6 |
| 0.875 | `var/scope/global` | 1-6 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/variety/2` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `123.2146-assert-condition.py` (learning cost 1.625)

```python
1   assert isConsistent
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `flow/assertion` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `124.2152-binary-search-for-a-value-in-sorted-array.py` (learning cost 13.9375)

```python
1   import bisect
2   def binarySearch(a, x):
3       i = bisect.bisect_left(a, x)
4       return i if i != len(a) and a[i] == x else -1
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/len` | 4 |
| 0.875 | `call/subroutine/method` | 3 |
| 0.75 | `condition/equality` | 4 |
| 0.875 | `condition/equality/not` | 4 |
| 0.9375 | `def/subroutine/function/impure` | 2-4 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.9375 | `def/subroutine/return/something` | 4 |
| 0.875 | `import/standard/bisect` | 1 |
| 0.875 | `operator/boolean/and` | 4 |
| 0.75 | `operator/ternary` | 4 |
| 0.75 | `style/procedural` | 1-4 |
| 0.75 | `subscript/index` | 4 |
| 0.9375 | `type/number/integer/literal` | 4 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2 |
| 0.875 | `var/scope/local` | 2-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/subroutine/sloc/3` | 2-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `125.2167-measure-function-call-duration.py` (learning cost 8.0625)

```python
1   import time
2   t1 = time.perf_counter()
3   foo()
4   t2 = time.perf_counter()
5   print("Seconds:", t2 - t1)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 5 |
| 0.875 | `call/subroutine/method` | 2, 4 |
| 0.875 | `call/subroutine/no_arguments` | 3 |
| 0.875 | `import/standard/time` | 1 |
| 0.875 | `operator/arithmetic/substraction` | 5 |
| 0.875 | `style/imperative/flat` | 1-5 |
| 0.9375 | `type/sequence/string/literal` | 5 |
| 0.9375 | `var/assignment/explicit/single` | 2, 4 |
| 0.875 | `var/scope/global` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `126.2137-multiple-return-values.py` (learning cost 8.75)

```python
1   def foo():
2       return "string", True
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `def/subroutine/function/pure` | 1-2 |
| 0.9375 | `def/subroutine/parameter/no` | 1-2 |
| 0.9375 | `def/subroutine/return/something` | 2 |
| 0.75 | `style/functional` | 1-2 |
| 0.875 | `style/functional_trait/pure_function` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/boolean/literal/True` | 2 |
| 0.9375 | `type/sequence/string/literal` | 2 |
| 0.9375 | `type/sequence/tuple/literal` | 2 |
| 0.75 | `var/metasyntactic` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/subroutine/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `127.2274-source-code-inclusion.py` (learning cost 7.84375)

```python
1   import imp
2   foo = imp.load_module("foobody", "foobody.txt").foo
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/imp/load_module` | 2 |
| 0.875 | `import/standard/imp` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2, 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.75 | `var/metasyntactic` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `128.2085-breadth-first-traversing-of-a-tree.py` (learning cost 20.734375)

```python
1   def BFS(f, root):
2       Q = [root]
3       while Q:
4           n = Q.pop(0)
5           f(n)
6           for child in n:
7               if not n.discovered:
8                   n.discovered = True
9                   Q.append(n)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 5 |
| 0.96875 | `call/subroutine/method/mutable_duck/pop` | 4 |
| 0.984375 | `call/subroutine/method/sequence/list/append` | 9 |
| 0.875 | `def/subroutine/higher_order` | 1-9 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.875 | `def/subroutine/procedure` | 1-9 |
| 0.875 | `flow/conditional/no_else` | 7-9 |
| 0.9375 | `flow/loop/exit/late` | 3-9, 6-9 |
| 0.9375 | `flow/loop/for/elements` | 6-9 |
| 0.875 | `flow/loop/while` | 3-9 |
| 0.875 | `operator/boolean/not` | 7 |
| 0.875 | `style/functional_trait/higher_order` | 1-9 |
| 0.75 | `style/procedural` | 1-9 |
| 0.9375 | `type/boolean/literal/True` | 8 |
| 0.96875 | `type/number/integer/literal/zero` | 4 |
| 0.875 | `type/sequence/list` | 9 |
| 0.9375 | `type/sequence/list/literal` | 2 |
| 0.875 | `var/assignment/explicit` | 8 |
| 0.9375 | `var/assignment/explicit/constant` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2, 4 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 6 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-9 |
| 0 | `meta/count/program/sloc/9` | 1-9 |
| 0 | `meta/count/subroutine/sloc/9` | 1-9 |
| 0 | `meta/count/variety/4` | 1-9 |
| 0 | `meta/program` | 1-9 |

---

### Program `129.2282-breadth-first-traversing-in-a-graph.py` (learning cost 20.6875)

```python
1   from collections import deque
2   def breadth_first(start, f):
3       seen = set()
4       q = deque([start])
5       while q:
6           vertex = q.popleft()
7           f(vertex)
8           seen.add(vertex)
9           q.extend(v for v in vertex.adjacent if v not in seen)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 4, 7 |
| 0.96875 | `call/subroutine/builtin/casting/set` | 3 |
| 0.875 | `call/subroutine/method` | 6 |
| 0.984375 | `call/subroutine/method/non_sequence/set/add` | 8 |
| 0.984375 | `call/subroutine/method/sequence/list/extend` | 9 |
| 0.875 | `call/subroutine/no_arguments` | 3 |
| 0.875 | `condition/belonging/not` | 9 |
| 0.9375 | `def/subroutine/generator/expression` | 9 |
| 0.875 | `def/subroutine/higher_order` | 2-9 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2 |
| 0.875 | `def/subroutine/procedure` | 2-9 |
| 0.9375 | `flow/loop/exit/late` | 5-9 |
| 0.875 | `flow/loop/while` | 5-9 |
| 0.9375 | `import/standard/collections/deque` | 1 |
| 0.875 | `style/functional_trait/higher_order` | 2-9 |
| 0.75 | `style/procedural` | 1-9 |
| 0.875 | `type/non_sequence/set` | 3, 8 |
| 0.875 | `type/sequence/list` | 9 |
| 0.9375 | `type/sequence/list/literal` | 4 |
| 0.9375 | `var/assignment/explicit/single` | 3, 4, 6 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 9 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2 |
| 0.875 | `var/scope/local` | 2-9, 9 |
| 0 | `meta/count/program/sloc/9` | 1-9 |
| 0 | `meta/count/subroutine/sloc/8` | 2-9 |
| 0 | `meta/count/variety/4` | 1-9 |
| 0 | `meta/program` | 1-9 |

---

### Program `130.2283-depth-first-traversing-in-a-graph.py` (learning cost 19.859375)

```python
1   def depth_first(start, f):
2       seen = set()
3       stack = [start]
4       while stack:
5           vertex = stack.pop()
6           f(vertex)
7           seen.add(vertex)
8           stack.extend(v for v in vertex.adjacent if v not in seen)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 6 |
| 0.96875 | `call/subroutine/builtin/casting/set` | 2 |
| 0.984375 | `call/subroutine/method/non_sequence/set/add` | 7 |
| 0.984375 | `call/subroutine/method/sequence/list/extend` | 8 |
| 0.984375 | `call/subroutine/method/sequence/list/pop` | 5 |
| 0.875 | `call/subroutine/no_arguments` | 2 |
| 0.875 | `condition/belonging/not` | 8 |
| 0.9375 | `def/subroutine/generator/expression` | 8 |
| 0.875 | `def/subroutine/higher_order` | 1-8 |
| 0.9375 | `def/subroutine/parameter/arg` | 1, 1 |
| 0.875 | `def/subroutine/procedure` | 1-8 |
| 0.9375 | `flow/loop/exit/late` | 4-8 |
| 0.875 | `flow/loop/while` | 4-8 |
| 0.875 | `style/functional_trait/higher_order` | 1-8 |
| 0.75 | `style/procedural` | 1-8 |
| 0.875 | `type/non_sequence/set` | 2, 7 |
| 0.875 | `type/sequence/list` | 5, 8 |
| 0.9375 | `type/sequence/list/literal` | 3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3, 5 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 8 |
| 0.9375 | `var/assignment/implicit/parameter` | 1, 1 |
| 0.875 | `var/scope/local` | 1-8, 8 |
| 0 | `meta/count/program/sloc/8` | 1-8 |
| 0 | `meta/count/subroutine/sloc/8` | 1-8 |
| 0 | `meta/count/variety/3` | 1-8 |
| 0 | `meta/program` | 1-8 |

---

### Program `131.2083-successive-conditions.py` (learning cost 3.25)

```python
1   f1 if c1 else f2 if c2 else f3 if c3 else None
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `operator/ternary` | 1, 1, 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/null/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `131.2766-successive-conditions.py` (learning cost 3.3125)

```python
1   if c1:
2       f1()
3   elif c2:
4       f2()
5   elif c3:
6       f3()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/no_arguments` | 2, 4, 6 |
| 0.75 | `flow/conditional` | 1-6, 3-6, 5-6 |
| 0.9375 | `flow/conditional/else/if` | 4, 6 |
| 0.75 | `style/imperative` | 1-6 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/variety/2` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `132.2040-measure-duration-of-procedure-execution.py` (learning cost 6.125)

```python
1   import timeit
2   duration = timeit.timeit("f()", setup="from __main__ import f")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/timeit` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/sequence/string/literal` | 2, 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `133.2160-case-insensitive-string-contains.py` (learning cost 6.046875)

```python
1   ok = word.lower() in s.lower()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/lower` | 1, 1 |
| 0.75 | `condition/belonging` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1, 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `134.1850-create-a-new-list.py` (learning cost 4.375)

```python
1   items = [a, b, c]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/list/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `135.2158-remove-item-from-list-by-its-value.py` (learning cost 2.59375)

```python
1   items.remove(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/method/mutable_duck/remove` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `136.2141-remove-all-occurrences-of-a-value-from-a-list.py` (learning cost 6.1875)

```python
1   newlist = [item for item in items if item != x]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `condition/equality/not` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/local` | 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `137.1823-check-if-string-contains-only-digits.py` (learning cost 5.296875)

```python
1   b = s.isdigit()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/isdigit` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `138.2161-create-temp-file.py` (learning cost 4.3125)

```python
1   import tempfile
2   file = tempfile.TemporaryFile()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/tempfile` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `139.2162-create-temp-directory.py` (learning cost 4.3125)

```python
1   import tempfile
2   td = tempfile.TemporaryDirectory()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/standard/tempfile` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `140.2156-delete-map-entry.py` (learning cost 3.46875)

```python
1   m.pop(k, None)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/method/mutable_duck/pop` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/null/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `141.2159-iterate-in-sequence-over-two-lists.py` (learning cost 6.1875)

```python
1   for x in items1 + items2:
2       print(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.875 | `operator/arithmetic/addition` | 1 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `142.2151-hexadecimal-digits-of-an-integer.py` (learning cost 4.375)

```python
1   s = hex(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/hex` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `143.2256-iterate-alternatively-over-two-lists.py` (learning cost 6.25)

```python
1   for pair in zip(item1, item2):
2       print(pair)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `call/subroutine/builtin/zip` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `144.2145-check-if-file-exists.py` (learning cost 5.1875)

```python
1   import os
2   b = os.path.exists(fp)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `144.2915-check-if-file-exists.py` (learning cost 6.125)

```python
1   from pathlib import Path
2   b = Path(fp).exists()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 2 |
| 0.875 | `call/subroutine/method` | 2 |
| 0.9375 | `import/standard/pathlib/Path` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `145.1822-print-log-line-with-datetime.py` (learning cost 7.21875)

```python
1   import sys, logging
2   logging.basicConfig(
3       stream=sys.stdout, level=logging.DEBUG, format="%(asctime)-15s %(message)s"
4   )
5   logger = logging.getLogger("NAME OF LOGGER")
6   logger.info(msg)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2, 5, 6 |
| 0.96875 | `call/subroutine/method/logging/basicConfig` | 2 |
| 0.875 | `import/standard/logging` | 1 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-6 |
| 0.9375 | `type/sequence/string/literal` | 3, 5 |
| 0.9375 | `var/assignment/explicit/single` | 5 |
| 0.875 | `var/scope/global` | 1-6 |
| 0 | `meta/count/program/sloc/6` | 1-6 |
| 0 | `meta/count/variety/2` | 1-6 |
| 0 | `meta/program` | 1-6 |

---

### Program `146.1825-convert-string-to-floating-point-number.py` (learning cost 6.34375)

```python
1   import locale
2   s = u"545,2222"
3   locale.setlocale(locale.LC_ALL, "de")
4   f = locale.atof(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3, 4 |
| 0.96875 | `call/subroutine/method/locale/setlocale` | 3 |
| 0.875 | `import/standard/locale` | 1 |
| 0.875 | `style/imperative/flat` | 1-4 |
| 0.9375 | `type/sequence/string/literal` | 2, 3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 4 |
| 0.875 | `var/scope/global` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/variety/2` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `146.1826-convert-string-to-floating-point-number.py` (learning cost 5.28125)

```python
1   f = float(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/float` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/floating_point` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `146.2739-convert-string-to-floating-point-number.py` (learning cost 4.40625)

```python
1   float("1.3")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/float` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/floating_point` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `147.2171-remove-all-non-ascii-characters.py` (learning cost 7.140625)

```python
1   import re
2   t = re.sub("[^\u0000-\u007f]", "", s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/re` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.96875 | `type/sequence/string/literal/empty` | 2 |
| 0.984375 | `type/sequence/string/literal/special/\x` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `148.1829-read-list-of-integer-numbers-from-stdin.py` (learning cost 9.703125)

```python
1   list(map(int, input().split()))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 1, 1 |
| 0.96875 | `call/subroutine/builtin/casting/list` | 1 |
| 0.9375 | `call/subroutine/builtin/input` | 1 |
| 0.9375 | `call/subroutine/builtin/map` | 1 |
| 0.984375 | `call/subroutine/method/sequence/string/split` | 1 |
| 0.875 | `call/subroutine/no_arguments` | 1 |
| 0.875 | `style/functional_trait/map` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `150.2154-remove-trailing-slash.py` (learning cost 6.234375)

```python
1   p = p.rstrip("/")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/rstrip` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `151.2166-remove-string-trailing-path-separator.py` (learning cost 7.984375)

```python
1   import os
2   if p.endswith(os.sep):
3       p = p[:-1]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/endswith` | 2 |
| 0.875 | `flow/conditional/no_else` | 2-3 |
| 0.875 | `import/standard/os` | 1 |
| 0.75 | `style/imperative` | 1-3 |
| 0.875 | `subscript/slice/stop` | 3 |
| 0.9375 | `type/number/integer/literal` | 3 |
| 0.875 | `type/sequence/string` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `152.2153-turn-a-character-into-a-string.py` (learning cost 3.4375)

```python
1   s = c
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `153.1980-concatenate-string-with-integer.py` (learning cost 6.234375)

```python
1   t = "{}{}".format(s, i)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/format` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `154.2155-halfway-between-two-hex-color-codes.py` (learning cost 18.234375)

```python
1   r1, g1, b1 = [int(c1[p : p + 2], 16) for p in range(1, 6, 2)]
2   r2, g2, b2 = [int(c2[p : p + 2], 16) for p in range(1, 6, 2)]
3   c = "#{:02x}{:02x}{:02x}".format((r1 + r2) // 2, (g1 + g2) // 2, (b1 + b2) // 2)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.96875 | `call/subroutine/builtin/casting/int` | 1, 2 |
| 0.9375 | `call/subroutine/builtin/range` | 1, 2 |
| 0.984375 | `call/subroutine/method/sequence/string/format` | 3 |
| 0.875 | `operator/arithmetic/addition` | 1, 2, 3, 3, 3 |
| 0.875 | `operator/arithmetic/integer_division` | 3, 3, 3 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.875 | `subscript/slice/start` | 1, 2 |
| 0.875 | `subscript/slice/stop` | 1, 2 |
| 0.875 | `type/number/integer` | 1, 2 |
| 0.9375 | `type/number/integer/literal` | <details><summary>1, 1, 1, 1, 1, 2, 2, 2, 2,</summary>2, 3, 3, 3</details> |
| 0.875 | `type/number/magic` | 1, 1, 2, 2 |
| 0.9375 | `type/sequence/list/comprehension` | 1, 2 |
| 0.875 | `type/sequence/string` | 3 |
| 0.9375 | `type/sequence/string/literal` | 3 |
| 0.9375 | `type/sequence/tuple/literal` | 1, 2 |
| 0.96875 | `var/assignment/explicit/parallel/more_than_two` | 1, 2 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1, 2 |
| 0.875 | `var/scope/global` | 1-3 |
| 0.875 | `var/scope/local` | 1, 2 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/0` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `154.2292-halfway-between-two-hex-color-codes.py` (learning cost 34.4375)

```python
1   import numpy
2   class RGB(numpy.ndarray):
3       @classmethod
4       def from_str(cls, rgbstr):
5           return numpy.array(
6               [int(rgbstr[i : i + 2], 16) for i in range(1, len(rgbstr), 2)]
7           ).view(cls)
8       def __str__(self):
9           self = self.astype(numpy.uint8)
10          return "#" + "".join(format(n, "x") for n in self)
11  c1 = RGB.from_str("#a1b1c1")
12  print(c1)
13  c2 = RGB.from_str("#1A1B1C")
14  print(c2)
15  print((c1 + c2) / 2)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 5, 6, 10 |
| 0.96875 | `call/subroutine/builtin/casting/int` | 6 |
| 0.9375 | `call/subroutine/builtin/format` | 10 |
| 0.9375 | `call/subroutine/builtin/len` | 6 |
| 0.9375 | `call/subroutine/builtin/print` | 12, 14, 15 |
| 0.9375 | `call/subroutine/builtin/range` | 6 |
| 0.875 | `call/subroutine/method` | 5, 9, 11, 13 |
| 0.9375 | `call/subroutine/method/chaining` | 5 |
| 0.984375 | `call/subroutine/method/sequence/string/join` | 10 |
| 0.75 | `def/class` | 2-10 |
| 0.875 | `def/subroutine/decorated` | 4-7 |
| 0.875 | `def/subroutine/function` | 4-7, 8-10 |
| 0.9375 | `def/subroutine/generator/expression` | 10 |
| 0.96875 | `def/subroutine/method/flavor/class` | 4-7 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 8-10 |
| 0.984375 | `def/subroutine/method/naming/magic/__str__` | 8-10 |
| 0.9375 | `def/subroutine/parameter/arg` | 4, 4, 8 |
| 0.9375 | `def/subroutine/return/something` | 5-7, 10 |
| 0.875 | `import/third_party/numpy` | 1 |
| 0.875 | `operator/arithmetic/addition` | 6, 15 |
| 0.875 | `operator/arithmetic/division` | 15 |
| 0.875 | `operator/string/concatenation` | 10 |
| 0.75 | `style/object_oriented` | 1-15 |
| 0.875 | `subscript/slice/start` | 6 |
| 0.875 | `subscript/slice/stop` | 6 |
| 0.875 | `type/number/integer` | 6 |
| 0.9375 | `type/number/integer/literal` | 6, 6, 6, 6, 15 |
| 0.875 | `type/number/magic` | 6 |
| 0.9375 | `type/sequence/list/comprehension` | 6 |
| 0.875 | `type/sequence/string` | 10 |
| 0.9375 | `type/sequence/string/literal` | 10, 10, 11, 13 |
| 0.96875 | `type/sequence/string/literal/empty` | 10 |
| 0.9375 | `var/assignment/explicit/single` | 9, 11, 13 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 6, 10 |
| 0.9375 | `var/assignment/implicit/parameter` | 4, 4 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 8 |
| 0.875 | `var/scope/global` | 1-15 |
| 0.875 | `var/scope/local` | 4-7, 6, 8-10, 10 |
| 0 | `meta/count/class/methods/2` | 2-10 |
| 0 | `meta/count/program/sloc/15` | 1-15 |
| 0 | `meta/count/subroutine/sloc/3` | 8-10 |
| 0 | `meta/count/subroutine/sloc/4` | 4-7 |
| 0 | `meta/count/variety/5` | 1-15 |
| 0 | `meta/program` | 1-15 |

---

### Program `155.2147-delete-file.py` (learning cost 4.4375)

```python
1   import pathlib
2   path = pathlib.Path(_filepath)
3   path.unlink()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3 |
| 0.875 | `import/standard/pathlib` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/2` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `156.2148-format-integer-with-zero-padding.py` (learning cost 5.3125)

```python
1   s = format("03d", i)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/format` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `157.2150-declare-constant-string.py` (learning cost 5.3125)

```python
1   PLANET = "Earth"
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0.9375 | `var/assignment/explicit/constant` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `158.2163-random-sublist.py` (learning cost 5.1875)

```python
1   import random
2   y = random.sample(x, k)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/random` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `159.2281-trie.py` (learning cost 11.734375)

```python
1   class Trie:
2       def __init__(self, prefix, value=None):
3           self.prefix = prefix
4           self.children = []
5           self.value = value
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `def/class` | 1-5 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-5 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2, 2, 2 |
| 0.96875 | `def/subroutine/parameter/default/NameConstant` | 2 |
| 0.875 | `def/subroutine/procedure` | 2-5 |
| 0.75 | `style/object_oriented` | 1-5 |
| 0.875 | `type/null/literal` | 2 |
| 0.96875 | `type/sequence/list/literal/empty` | 4 |
| 0.875 | `var/assignment/explicit` | 3, 4, 5 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 2 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2 |
| 0.875 | `var/scope/local` | 2-5 |
| 0 | `meta/count/class/methods/1` | 1-5 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/subroutine/sloc/4` | 2-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `160.2165-detect-if-32-bit-or-64-bit-architecture.py` (learning cost 7.5625)

```python
1   import sys
2   if sys.maxsize > 2 ** 32:
3       f64()
4   else:
5       f32()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/no_arguments` | 3, 5 |
| 0.75 | `condition/inequality` | 2 |
| 0.75 | `flow/conditional` | 2-5 |
| 0.875 | `flow/conditional/else` | 5 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `operator/arithmetic/power` | 2 |
| 0.75 | `style/imperative` | 1-5 |
| 0.9375 | `type/number/integer/literal` | 2, 2 |
| 0.875 | `type/number/magic` | 2 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `161.2098-multiply-all-the-elements-of-a-list.py` (learning cost 6.1875)

```python
1   elements = [c * x for x in elements]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/multiplication` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/local` | 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `162.2164-execute-procedures-depending-on-options.py` (learning cost 6.875)

```python
1   import sys
2   if "b" in sys.argv[1:]:
3       bat()
4   if "f" in sys.argv[1:]:
5       fox()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/no_arguments` | 3, 5 |
| 0.75 | `condition/belonging` | 2, 4 |
| 0.875 | `flow/conditional/no_else` | 2-3, 4-5 |
| 0.875 | `import/standard/sys` | 1 |
| 0.75 | `style/imperative` | 1-5 |
| 0.875 | `subscript/slice/start` | 2, 4 |
| 0.9375 | `type/number/integer/literal` | 2, 4 |
| 0.9375 | `type/sequence/string/literal` | 2, 4 |
| 0 | `meta/count/program/sloc/5` | 1-5 |
| 0 | `meta/count/variety/2` | 1-5 |
| 0 | `meta/program` | 1-5 |

---

### Program `163.2170-print-list-elements-by-group-of-2.py` (learning cost 8.9375)

```python
1   for x in zip(list[::2], list[1::2]):
2       print(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.9375 | `call/subroutine/builtin/zip` | 1 |
| 0.9375 | `flow/loop/exit/late` | 1-2 |
| 0.875 | `flow/loop/for` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.875 | `subscript/slice/start` | 1 |
| 0.875 | `subscript/slice/step` | 1, 1 |
| 0.9375 | `type/number/integer/literal` | 1, 1, 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `163.3177-print-list-elements-by-group-of-2.py` (learning cost 17.125)

```python
1   from itertools import tee
2   def pairwise(iterable):
3       a, b = tee(iterable)
4       next(b, None)
5       return zip(a, b)
6   for a, b in pairwise(list):
7       print(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 3, 6 |
| 0.9375 | `call/subroutine/builtin/next` | 4 |
| 0.9375 | `call/subroutine/builtin/print` | 7 |
| 0.9375 | `call/subroutine/builtin/zip` | 5 |
| 0.9375 | `def/subroutine/function/impure` | 2-5 |
| 0.9375 | `def/subroutine/parameter/arg` | 2 |
| 0.9375 | `def/subroutine/return/something` | 5 |
| 0.9375 | `flow/loop/exit/late` | 6-7 |
| 0.875 | `flow/loop/for` | 6-7 |
| 0.9375 | `import/standard/itertools/tee` | 1 |
| 0.75 | `style/procedural` | 1-7 |
| 0.875 | `type/null/literal` | 4 |
| 0.9375 | `type/sequence/tuple/literal` | 3, 6 |
| 0.9375 | `var/assignment/explicit/parallel` | 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 6, 6 |
| 0.9375 | `var/assignment/implicit/parameter` | 2 |
| 0.875 | `var/scope/global` | 1-7 |
| 0.875 | `var/scope/local` | 2-5 |
| 0.875 | `var/scope/shadowing` | 2-5 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/subroutine/sloc/4` | 2-5 |
| 0 | `meta/count/variety/3` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `164.2169-open-url-in-default-browser.py` (learning cost 4.34375)

```python
1   import webbrowser
2   webbrowser.open(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/webbrowser/open` | 2 |
| 0.875 | `import/standard/webbrowser` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `165.2149-last-element-of-list.py` (learning cost 6.0625)

```python
1   x = items[-1]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `subscript/index` | 1 |
| 0.9375 | `subscript/index/backwards/last` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `166.2272-concatenate-two-lists.py` (learning cost 4.3125)

```python
1   ab = a + b
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/addition` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `167.2611-trim-prefix.py` (learning cost 7.984375)

```python
1   t = s[s.startswith(p) and len(p) :]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/len` | 1 |
| 0.984375 | `call/subroutine/method/sequence/string/startswith` | 1 |
| 0.875 | `operator/boolean/and` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `subscript/slice/start` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `167.3175-trim-prefix.py` (learning cost 5.296875)

```python
1   t = s.lstrip(p)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/lstrip` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `168.2277-trim-suffix.py` (learning cost 7.953125)

```python
1   t = s.rsplit(w, 1)[0]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/rsplit` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `subscript/index` | 1 |
| 0.9375 | `type/number/integer/literal` | 1 |
| 0.96875 | `type/number/integer/literal/zero` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `168.3174-trim-suffix.py` (learning cost 5.296875)

```python
1   t = s.rstrip(w)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/string/rstrip` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/string` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `169.2233-string-length.py` (learning cost 4.375)

```python
1   n = len(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/len` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `170.2275-get-map-size.py` (learning cost 4.375)

```python
1   n = len(mymap)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/len` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `171.2446-add-an-element-at-the-end-of-a-list.py` (learning cost 3.484375)

```python
1   s.append(x)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/sequence/list/append` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/sequence/list` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `172.2442-insert-entry-in-map.py` (learning cost 3.3125)

```python
1   m[k] = v
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.75 | `subscript/index` | 1 |
| 0.9375 | `var/assignment/explicit/index` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `173.2427-format-a-number-with-grouped-thousands.py` (learning cost 3.5)

```python
1   print("f'{1000:,}'")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `173.2428-format-a-number-with-grouped-thousands.py` (learning cost 3.5)

```python
1   print("format(1000, ',')")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `173.2429-format-a-number-with-grouped-thousands.py` (learning cost 3.5)

```python
1   print("'{:,}'.format(1000)")
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/string/literal` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `174.2687-make-http-post-request.py` (learning cost 9.171875)

```python
1   from urllib import request, parse
2   data = parse.urlencode("<your data dict>").encode()
3   req = request.Request(u, data=data, method="POST")
4   resp = request.urlopen(req)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2, 4 |
| 0.9375 | `call/subroutine/method/chaining` | 2 |
| 0.984375 | `call/subroutine/method/sequence/string/encode` | 2 |
| 0.9375 | `import/standard/urllib/parse` | 1 |
| 0.9375 | `import/standard/urllib/request` | 1 |
| 0.875 | `style/imperative/flat` | 1-4 |
| 0.875 | `type/sequence/string` | 2 |
| 0.9375 | `type/sequence/string/literal` | 2, 3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3, 4 |
| 0.875 | `var/scope/global` | 1-4 |
| 0 | `meta/count/program/sloc/4` | 1-4 |
| 0 | `meta/count/variety/1` | 1-4 |
| 0 | `meta/program` | 1-4 |

---

### Program `175.2613-bytes-to-hex-string.py` (learning cost 5.296875)

```python
1   s = a.hex()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/number/floating_point/hex` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/floating_point` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/1` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `176.2614-hex-string-to-byte-array.py` (learning cost 5.296875)

```python
1   a = bytearray.fromhex(s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.984375 | `call/subroutine/method/number/floating_point/fromhex` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.875 | `type/number/floating_point` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `177.2709-find-files-with-a-given-list-of-filename-extensions.py` (learning cost 12.4375)

```python
1   import os
2   extensions = [".jpg", ".jpeg", ".png"]
3   L = [f for f in os.listdir(D) if os.path.splitext(f)[1] in extensions]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3, 3 |
| 0.75 | `condition/belonging` | 3 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.75 | `subscript/index` | 3 |
| 0.9375 | `type/number/integer/literal` | 3 |
| 0.9375 | `type/sequence/list/comprehension` | 3 |
| 0.9375 | `type/sequence/list/literal` | 2 |
| 0.9375 | `type/sequence/string/literal` | 2, 2, 2 |
| 0.9375 | `var/assignment/explicit/constant` | 3 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0.875 | `var/scope/local` | 3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `177.2725-find-files-with-a-given-list-of-filename-extensions.py` (learning cost 12.765625)

```python
1   import re
2   import os
3   filtered_files = [
4       "{}/{}".format(dirpath, filename)
5       for dirpath, _, filenames in os.walk(D)
6       for filename in filenames
7       if re.match(r"^.*\.(?:jpg|jpeg|png)$", filename)
8   ]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 5, 7 |
| 0.984375 | `call/subroutine/method/sequence/string/format` | 4 |
| 0.875 | `import/standard/os` | 2 |
| 0.875 | `import/standard/re` | 1 |
| 0.875 | `style/imperative/flat` | 1-7 |
| 0.9375 | `type/sequence/list/comprehension` | 3 |
| 0.875 | `type/sequence/string` | 4 |
| 0.9375 | `type/sequence/string/literal` | 4, 7 |
| 0.9375 | `type/sequence/tuple/literal` | 5 |
| 0.9375 | `var/assignment/explicit/single` | 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 5, 5, 6 |
| 0.96875 | `var/assignment/implicit/iteration_variable/throwaway` | 5 |
| 0.875 | `var/scope/global` | 1-7 |
| 0.875 | `var/scope/local` | 3 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/variety/2` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `177.3241-find-files-with-a-given-list-of-filename-extensions.py` (learning cost 12.34375)

```python
1   import glob
2   import itertools
3   list(itertools.chain(*(glob.glob("*/**.%s" % ext) for ext in ["jpg", "jpeg", "png"])))
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/composition` | 3, 3 |
| 0.96875 | `call/subroutine/builtin/casting/list` | 3 |
| 0.875 | `call/subroutine/method` | 3, 3 |
| 0.9375 | `def/subroutine/generator/expression` | 3 |
| 0.875 | `import/standard/glob` | 1 |
| 0.875 | `import/standard/itertools` | 2 |
| 0.875 | `operator/string/format` | 3 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.75 | `style/one_liner` | 1-3 |
| 0.875 | `type/sequence/list` | 3 |
| 0.9375 | `type/sequence/list/literal` | 3 |
| 0.9375 | `type/sequence/string/literal` | 3, 3, 3, 3 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 3 |
| 0.875 | `var/scope/local` | 3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `178.2615-check-if-point-is-inside-rectangle.py` (learning cost 6.0)

```python
1   b = (x1 < x < x2) and (y1 < y < y2)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `condition/inequality` | 1, 1, 1, 1 |
| 0.9375 | `condition/inequality/chained/2` | 1, 1 |
| 0.875 | `operator/boolean/and` | 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `179.2688-get-center-of-a-rectangle.py` (learning cost 7.0625)

```python
1   center = ((x1 + x2) / 2, (y1 + y2) / 2)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `operator/arithmetic/addition` | 1, 1 |
| 0.875 | `operator/arithmetic/division` | 1, 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/number/integer/literal` | 1, 1 |
| 0.9375 | `type/sequence/tuple/literal` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `179.2689-get-center-of-a-rectangle.py` (learning cost 8.875)

```python
1   from collections import namedtuple
2   Point = namedtuple("Point", "x y")
3   center = Point((x1 + x2) / 2, (y1 + y2) / 2)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 3 |
| 0.75 | `call/subroutine` | 2 |
| 0.9375 | `import/standard/collections/namedtuple` | 1 |
| 0.875 | `operator/arithmetic/addition` | 3, 3 |
| 0.875 | `operator/arithmetic/division` | 3, 3 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `type/number/integer/literal` | 3, 3 |
| 0.9375 | `type/sequence/string/literal` | 2, 2 |
| 0.9375 | `var/assignment/explicit/single` | 2, 3 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `180.2612-list-files-in-directory.py` (learning cost 5.1875)

```python
1   import os
2   x = os.listdir(d)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/standard/os` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `182.2658-quine-program.py` (learning cost 5.484375)

```python
1   s = "s = %r\nprint(s%%s)"
2   print(s % s)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/print` | 2 |
| 0.875 | `operator/arithmetic/modulo` | 2 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.984375 | `type/sequence/string/literal/special/\n` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `183.3025-make-http-put-request.py` (learning cost 9.15625)

```python
1   requests
2   import requests
3   content_type = "text/plain"
4   headers = {"Content-Type": content_type}
5   data = {}
6   r = requests.put(url, headers=headers, data=data)
7   status_code, content = r.status_code, r.content
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 6 |
| 0.875 | `import/third_party/requests` | 2 |
| 0.875 | `style/imperative/flat` | 1-7 |
| 0.9375 | `type/non_sequence/dictionary/literal` | 4 |
| 0.96875 | `type/non_sequence/dictionary/literal/empty` | 5 |
| 0.9375 | `type/sequence/string/literal` | 3, 4 |
| 0.9375 | `type/sequence/tuple/literal` | 7, 7 |
| 0.9375 | `var/assignment/explicit/parallel` | 7 |
| 0.9375 | `var/assignment/explicit/single` | 3, 4, 5, 6 |
| 0.875 | `var/scope/global` | 1-7 |
| 0 | `meta/count/program/sloc/7` | 1-7 |
| 0 | `meta/count/variety/2` | 1-7 |
| 0 | `meta/program` | 1-7 |

---

### Program `184.2701-tomorrow.py` (learning cost 6.9375)

```python
1   from datetime import date, timedelta
2   date.today() + timedelta(days=1)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.75 | `call/subroutine` | 2 |
| 0.875 | `call/subroutine/method` | 2 |
| 0.9375 | `import/standard/datetime/date` | 1 |
| 0.9375 | `import/standard/datetime/timedelta` | 1 |
| 0.875 | `operator/arithmetic/addition` | 2 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `185.2820-execute-function-in-30-seconds.py` (learning cost 8.125)

```python
1   import threading
2   timer = threading.Timer(30.0, f, args=(42,))
3   timer.start()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 3 |
| 0.875 | `import/standard/threading` | 1 |
| 0.875 | `style/imperative/flat` | 1-3 |
| 0.9375 | `type/number/floating_point/literal` | 2 |
| 0.9375 | `type/number/integer/literal` | 2 |
| 0.875 | `type/number/magic` | 2, 2 |
| 0.9375 | `type/sequence/tuple/literal` | 2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-3 |
| 0 | `meta/count/program/sloc/3` | 1-3 |
| 0 | `meta/count/variety/1` | 1-3 |
| 0 | `meta/program` | 1-3 |

---

### Program `186.2699-exit-program-cleanly.py` (learning cost 5.3125)

```python
1   import sys
2   sys.exit(0)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.96875 | `call/subroutine/method/sys/exit` | 2 |
| 0.875 | `import/standard/sys` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.96875 | `type/number/integer/literal/zero` | 2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/2` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `187.3261-disjoint-set.py` (learning cost 25.828125)

```python
1   class UnionFind:
2       def __init__(self, size):
3           self.rank = [0] * size
4           self.p = [i for i in range(size)]
5       def find_set(self, i):
6           if self.p[i] == i:
7               return i
8           else:
9               self.p[i] = self.find_set(self.p[i])
10              return self.p[i]
11      def is_same_set(self, i, j):
12          return self.find_set(i) == self.find_set(j)
13      def union_set(self, i, j):
14          if not self.is_same_set(i, j):
15              x, y = self.find_set(i), self.find_set(j)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/range` | 4 |
| 0.875 | `call/subroutine/method` | 9, 12, 12, 14, 15, 15 |
| 0.75 | `condition/equality` | 6, 12 |
| 0.75 | `def/class` | 1-15 |
| 0.875 | `def/subroutine/function` | 5-10 |
| 0.9375 | `def/subroutine/function/predicate` | 11-12 |
| 0.96875 | `def/subroutine/method/flavor/instance` | 2-4, 5-10, 11-12, 13-15 |
| 0.984375 | `def/subroutine/method/naming/magic/__init__` | 2-4 |
| 0.9375 | `def/subroutine/parameter/arg` | <details><summary>2, 2, 5, 5, 11, 11, 11, 13,</summary>13, 13</details> |
| 0.875 | `def/subroutine/procedure` | 2-4, 13-15 |
| 0.9375 | `def/subroutine/return/something` | 10, 12 |
| 0.75 | `flow/conditional` | 6-10 |
| 0.875 | `flow/conditional/else` | 9-10 |
| 0.875 | `flow/conditional/no_else` | 14-15 |
| 0.875 | `operator/boolean/not` | 14 |
| 0.875 | `operator/list/replication` | 3 |
| 0.75 | `style/object_oriented` | 1-15 |
| 0.75 | `subscript/index` | 6, 9, 9, 10 |
| 0.96875 | `type/number/integer/literal/zero` | 3 |
| 0.9375 | `type/sequence/list/comprehension` | 4 |
| 0.9375 | `type/sequence/list/literal` | 3 |
| 0.9375 | `type/sequence/tuple/literal` | 15, 15 |
| 0.875 | `var/assignment/explicit` | 3, 4 |
| 0.9375 | `var/assignment/explicit/index` | 9 |
| 0.9375 | `var/assignment/explicit/parallel` | 15 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 4 |
| 0.9375 | `var/assignment/implicit/parameter` | 2, 5, 11, 11, 13, 13 |
| 0.96875 | `var/assignment/implicit/parameter/self` | 2, 5, 11, 13 |
| 0.875 | `var/scope/local` | 2-4, 4, 5-10, 11-12, 13-15 |
| 0 | `meta/count/class/methods/4` | 1-15 |
| 0 | `meta/count/program/sloc/15` | 1-15 |
| 0 | `meta/count/subroutine/sloc/2` | 11-12 |
| 0 | `meta/count/subroutine/sloc/3` | 2-4, 13-15 |
| 0 | `meta/count/subroutine/sloc/6` | 5-10 |
| 0 | `meta/count/variety/3` | 1-15 |
| 0 | `meta/program` | 1-15 |

---

### Program `188.3171-matrix-multiplication.py` (learning cost 5.1875)

```python
1   import numpy as np
2   c = a @ b
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `import/third_party/numpy` | 1 |
| 0.875 | `operator/matrix/multiplication` | 2 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `188.3284-matrix-multiplication.py` (learning cost 5.1875)

```python
1   import numpy as np
2   c = np.matmul(a, b)
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `import/third_party/numpy` | 1 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.75 | `style/one_liner` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `189.3236-filter-and-transform-list.py` (learning cost 6.1875)

```python
1   y = [T(e) for e in x if P(e)]
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.875 | `call/class/construct` | 1, 1 |
| 0.875 | `style/imperative/flat` | 1 |
| 0.75 | `style/one_liner` | 1 |
| 0.9375 | `type/sequence/list/comprehension` | 1 |
| 0.9375 | `var/assignment/explicit/single` | 1 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/local` | 1, 1 |
| 0 | `meta/count/program/sloc/1` | 1 |
| 0 | `meta/count/variety/0` | 1 |
| 0 | `meta/program` | 1 |

---

### Program `191.3403-check-if-any-value-in-a-list-is-larger-than-a-limit.py` (learning cost 6.9375)

```python
1   if any(v > x for v in a):
2       f()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/any` | 1 |
| 0.875 | `call/subroutine/no_arguments` | 2 |
| 0.75 | `condition/inequality` | 1 |
| 0.9375 | `def/subroutine/generator/expression` | 1 |
| 0.875 | `flow/conditional/no_else` | 1-2 |
| 0.75 | `style/imperative` | 1-2 |
| 0.9375 | `var/assignment/implicit/iteration_variable` | 1 |
| 0.875 | `var/scope/local` | 1 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

### Program `197.3457-get-a-list-of-lines-from-a-file.py` (learning cost 4.5)

```python
1   with open(path) as f:
2       lines = f.readlines()
```

| Cost  | Taxon | Location |
|----|----|----|
| 0.9375 | `call/subroutine/builtin/open` | 1 |
| 0.875 | `call/subroutine/method` | 2 |
| 0.875 | `style/imperative/flat` | 1-2 |
| 0.9375 | `var/assignment/explicit/single` | 2 |
| 0.875 | `var/scope/global` | 1-2 |
| 0 | `meta/count/program/sloc/2` | 1-2 |
| 0 | `meta/count/variety/1` | 1-2 |
| 0 | `meta/program` | 1-2 |

---

# Summary
<details>
  <summary>223 initially.</summary>
  <ol>
    <li><code>001.0003-print-hello-world.py</code></li>
    <li><code>001.1159-print-hello-world.py</code></li>
    <li><code>002.0011-print-hello-10-times.py</code></li>
    <li><code>002.1493-print-hello-10-times.py</code></li>
    <li><code>002.3117-print-hello-10-times.py</code></li>
    <li><code>003.0019-create-a-procedure.py</code></li>
    <li><code>003.2372-create-a-procedure.py</code></li>
    <li><code>004.0024-create-a-function-which-returns-the-square-of-an-integer.py</code></li>
    <li><code>004.2921-create-a-function-which-returns-the-square-of-an-integer.py</code></li>
    <li><code>005.0663-create-a-2d-point-data-structure.py</code></li>
    <li><code>006.0032-iterate-over-list-values.py</code></li>
    <li><code>007.0183-iterate-over-list-indexes-and-values.py</code></li>
    <li><code>008.0039-initialize-a-new-map-associative-array.py</code></li>
    <li><code>009.1410-create-a-binary-tree-data-structure.py</code></li>
    <li><code>009.3176-create-a-binary-tree-data-structure.py</code></li>
    <li><code>010.0182-shuffle-a-list.py</code></li>
    <li><code>010.1478-shuffle-a-list.py</code></li>
    <li><code>011.0047-pick-a-random-element-from-a-list.py</code></li>
    <li><code>012.0181-check-if-list-contains-a-value.py</code></li>
    <li><code>013.0574-iterate-over-map-keys-and-values.py</code></li>
    <li><code>014.0185-pick-uniformly-a-random-floating-point-number-in-ab.py</code></li>
    <li><code>014.3410-pick-uniformly-a-random-floating-point-number-in-ab.py</code></li>
    <li><code>015.0184-pick-uniformly-a-random-integer-in-ab.py</code></li>
    <li><code>016.1530-depth-first-traversing-of-a-binary-tree.py</code></li>
    <li><code>017.1103-create-a-tree-data-structure.py</code></li>
    <li><code>018.2084-depth-first-traversing-of-a-tree.py</code></li>
    <li><code>019.0197-reverse-a-list.py</code></li>
    <li><code>019.1983-reverse-a-list.py</code></li>
    <li><code>019.3164-reverse-a-list.py</code></li>
    <li><code>020.0573-return-two-values.py</code></li>
    <li><code>021.0084-swap-values-of-variables-a-and-b.py</code></li>
    <li><code>022.0243-convert-string-to-integer.py</code></li>
    <li><code>023.1102-convert-real-number-to-string-with-2-decimal-places.py</code></li>
    <li><code>024.0664-assign-to-string-the-japanese-word-.py</code></li>
    <li><code>025.0195-send-a-value-to-another-thread.py</code></li>
    <li><code>026.0194-create-a-2-dimensional-array.py</code></li>
    <li><code>027.0192-create-a-3-dimensional-array.py</code></li>
    <li><code>027.0193-create-a-3-dimensional-array.py</code></li>
    <li><code>028.0350-sort-by-a-property.py</code></li>
    <li><code>029.0199-remove-item-from-list-by-its-index.py</code></li>
    <li><code>030.0189-parallelize-execution-of-1000-independent-tasks.py</code></li>
    <li><code>031.0188-recursive-factorial-simple.py</code></li>
    <li><code>032.0196-integer-exponentiation-by-squaring.py</code></li>
    <li><code>033.1420-atomically-read-and-update-variable.py</code></li>
    <li><code>034.0625-create-a-set-of-objects.py</code></li>
    <li><code>035.0667-first-class-function--compose.py</code></li>
    <li><code>036.0670-first-class-function--generic-composition.py</code></li>
    <li><code>037.0671-currying.py</code></li>
    <li><code>038.0186-extract-a-substring.py</code></li>
    <li><code>039.0571-check-if-string-contains-a-word.py</code></li>
    <li><code>040.2279-graph-with-adjacency-lists.py</code></li>
    <li><code>041.0187-reverse-a-string.py</code></li>
    <li><code>041.2714-reverse-a-string.py</code></li>
    <li><code>042.1264-continue-outer-loop.py</code></li>
    <li><code>042.3168-continue-outer-loop.py</code></li>
    <li><code>043.0676-break-outer-loop.py</code></li>
    <li><code>043.2733-break-outer-loop.py</code></li>
    <li><code>044.0190-insert-element-in-list.py</code></li>
    <li><code>045.0570-pause-execution-for-5-seconds.py</code></li>
    <li><code>046.0191-extract-beginning-of-string-prefix.py</code></li>
    <li><code>047.0198-extract-string-suffix.py</code></li>
    <li><code>048.0210-multi-line-string-literal.py</code></li>
    <li><code>049.0242-split-a-space-separated-string.py</code></li>
    <li><code>050.0572-make-an-infinite-loop.py</code></li>
    <li><code>051.0230-check-if-map-contains-key.py</code></li>
    <li><code>052.0666-check-if-map-contains-value.py</code></li>
    <li><code>053.0240-join-a-list-of-strings.py</code></li>
    <li><code>053.1933-join-a-list-of-strings.py</code></li>
    <li><code>054.0241-compute-sum-of-integers.py</code></li>
    <li><code>055.0575-convert-integer-to-string.py</code></li>
    <li><code>056.1424-launch-1000-parallel-tasks-and-wait-for-completion.py</code></li>
    <li><code>057.0260-filter-list.py</code></li>
    <li><code>057.3173-filter-list.py</code></li>
    <li><code>058.0665-extract-file-content-to-a-string.py</code></li>
    <li><code>059.0668-write-to-standard-error-stream.py</code></li>
    <li><code>060.1084-read-command-line-argument.py</code></li>
    <li><code>061.0576-get-current-date.py</code></li>
    <li><code>062.1091-find-substring-position.py</code></li>
    <li><code>063.1088-replace-fragment-of-a-string.py</code></li>
    <li><code>064.0274-big-integer--value-3-power-247.py</code></li>
    <li><code>065.1085-format-decimal-number.py</code></li>
    <li><code>066.0672-big-integer-exponentiation.py</code></li>
    <li><code>067.1426-binomial-coefficient-n-choose-k.py</code></li>
    <li><code>068.2271-create-a-bitset.py</code></li>
    <li><code>069.1086-seed-random-generator.py</code></li>
    <li><code>070.1087-use-clock-as-random-generator-seed.py</code></li>
    <li><code>071.0379-echo-program-implementation.py</code></li>
    <li><code>073.0673-create-a-factory.py</code></li>
    <li><code>074.0674-compute-gcd.py</code></li>
    <li><code>075.0675-compute-lcm.py</code></li>
    <li><code>076.1083-binary-digits-from-an-integer.py</code></li>
    <li><code>077.1093-complex-number.py</code></li>
    <li><code>078.1089-do-while-loop.py</code></li>
    <li><code>079.1090-convert-integer-to-floating-point-number.py</code></li>
    <li><code>080.1092-truncate-floating-point-number-to-integer.py</code></li>
    <li><code>081.2270-round-floating-point-number-to-integer.py</code></li>
    <li><code>082.1096-count-substring-occurrences.py</code></li>
    <li><code>083.1805-regex-with-character-repetition.py</code></li>
    <li><code>084.1940-count-bits-set-in-integer-binary-representation.py</code></li>
    <li><code>085.1003-check-if-integer-addition-will-overflow.py</code></li>
    <li><code>086.1004-check-if-integer-multiplication-will-overflow.py</code></li>
    <li><code>087.1139-stop-program.py</code></li>
    <li><code>088.2143-allocate-1m-bytes.py</code></li>
    <li><code>089.1097-handle-invalid-argument.py</code></li>
    <li><code>090.1099-read-only-outside.py</code></li>
    <li><code>091.1098-load-json-file-into-struct.py</code></li>
    <li><code>092.1100-save-object-into-json-file.py</code></li>
    <li><code>093.1082-pass-a-runnable-procedure-as-parameter.py</code></li>
    <li><code>094.1101-print-type-of-variable.py</code></li>
    <li><code>094.1864-print-type-of-variable.py</code></li>
    <li><code>095.2140-get-file-size.py</code></li>
    <li><code>096.1094-check-string-prefix.py</code></li>
    <li><code>097.1095-check-string-suffix.py</code></li>
    <li><code>098.2142-epoch-seconds-to-date-object.py</code></li>
    <li><code>099.1429-format-date-yyyy-mm-dd.py</code></li>
    <li><code>099.2693-format-date-yyyy-mm-dd.py</code></li>
    <li><code>100.1142-sort-by-a-comparator.py</code></li>
    <li><code>101.2172-load-from-http-get-request-into-a-string.py</code></li>
    <li><code>102.2173-load-from-http-get-request-into-a-file.py</code></li>
    <li><code>103.2276-load-xml-file-into-struct.py</code></li>
    <li><code>104.3264-save-object-into-xml-file.py</code></li>
    <li><code>105.1804-current-executable-name.py</code></li>
    <li><code>106.2039-get-program-working-directory.py</code></li>
    <li><code>107.2139-get-folder-containing-current-program.py</code></li>
    <li><code>108.1291-determine-if-variable-name-is-defined.py</code></li>
    <li><code>109.2280-number-of-bytes-of-a-type.py</code></li>
    <li><code>110.1455-check-if-string-is-blank.py</code></li>
    <li><code>111.2168-launch-other-program.py</code></li>
    <li><code>112.2144-iterate-over-map-entries-ordered-by-keys.py</code></li>
    <li><code>113.2157-iterate-over-map-entries-ordered-by-values.py</code></li>
    <li><code>114.2273-test-deep-equality.py</code></li>
    <li><code>115.2138-compare-dates.py</code></li>
    <li><code>116.1257-remove-occurrences-of-word-from-string.py</code></li>
    <li><code>117.1297-get-list-size.py</code></li>
    <li><code>118.1254-list-to-set.py</code></li>
    <li><code>118.3266-list-to-set.py</code></li>
    <li><code>119.1253-deduplicate-list.py</code></li>
    <li><code>119.3263-deduplicate-list.py</code></li>
    <li><code>120.1479-read-integer-from-stdin.py</code></li>
    <li><code>121.3029-udp-listen-and-read.py</code></li>
    <li><code>122.1453-declare-enumeration.py</code></li>
    <li><code>122.1454-declare-enumeration.py</code></li>
    <li><code>123.2146-assert-condition.py</code></li>
    <li><code>124.2152-binary-search-for-a-value-in-sorted-array.py</code></li>
    <li><code>125.2167-measure-function-call-duration.py</code></li>
    <li><code>126.2137-multiple-return-values.py</code></li>
    <li><code>127.2274-source-code-inclusion.py</code></li>
    <li><code>128.2085-breadth-first-traversing-of-a-tree.py</code></li>
    <li><code>129.2282-breadth-first-traversing-in-a-graph.py</code></li>
    <li><code>130.2283-depth-first-traversing-in-a-graph.py</code></li>
    <li><code>131.2083-successive-conditions.py</code></li>
    <li><code>131.2766-successive-conditions.py</code></li>
    <li><code>132.2040-measure-duration-of-procedure-execution.py</code></li>
    <li><code>133.2160-case-insensitive-string-contains.py</code></li>
    <li><code>134.1850-create-a-new-list.py</code></li>
    <li><code>135.2158-remove-item-from-list-by-its-value.py</code></li>
    <li><code>136.2141-remove-all-occurrences-of-a-value-from-a-list.py</code></li>
    <li><code>137.1823-check-if-string-contains-only-digits.py</code></li>
    <li><code>138.2161-create-temp-file.py</code></li>
    <li><code>139.2162-create-temp-directory.py</code></li>
    <li><code>140.2156-delete-map-entry.py</code></li>
    <li><code>141.2159-iterate-in-sequence-over-two-lists.py</code></li>
    <li><code>142.2151-hexadecimal-digits-of-an-integer.py</code></li>
    <li><code>143.2256-iterate-alternatively-over-two-lists.py</code></li>
    <li><code>144.2145-check-if-file-exists.py</code></li>
    <li><code>144.2915-check-if-file-exists.py</code></li>
    <li><code>145.1822-print-log-line-with-datetime.py</code></li>
    <li><code>146.1825-convert-string-to-floating-point-number.py</code></li>
    <li><code>146.1826-convert-string-to-floating-point-number.py</code></li>
    <li><code>146.2739-convert-string-to-floating-point-number.py</code></li>
    <li><code>147.2171-remove-all-non-ascii-characters.py</code></li>
    <li><code>148.1829-read-list-of-integer-numbers-from-stdin.py</code></li>
    <li><code>150.2154-remove-trailing-slash.py</code></li>
    <li><code>151.2166-remove-string-trailing-path-separator.py</code></li>
    <li><code>152.2153-turn-a-character-into-a-string.py</code></li>
    <li><code>153.1980-concatenate-string-with-integer.py</code></li>
    <li><code>154.2155-halfway-between-two-hex-color-codes.py</code></li>
    <li><code>154.2292-halfway-between-two-hex-color-codes.py</code></li>
    <li><code>155.2147-delete-file.py</code></li>
    <li><code>156.2148-format-integer-with-zero-padding.py</code></li>
    <li><code>157.2150-declare-constant-string.py</code></li>
    <li><code>158.2163-random-sublist.py</code></li>
    <li><code>159.2281-trie.py</code></li>
    <li><code>160.2165-detect-if-32-bit-or-64-bit-architecture.py</code></li>
    <li><code>161.2098-multiply-all-the-elements-of-a-list.py</code></li>
    <li><code>162.2164-execute-procedures-depending-on-options.py</code></li>
    <li><code>163.2170-print-list-elements-by-group-of-2.py</code></li>
    <li><code>163.3177-print-list-elements-by-group-of-2.py</code></li>
    <li><code>164.2169-open-url-in-default-browser.py</code></li>
    <li><code>165.2149-last-element-of-list.py</code></li>
    <li><code>166.2272-concatenate-two-lists.py</code></li>
    <li><code>167.2611-trim-prefix.py</code></li>
    <li><code>167.3175-trim-prefix.py</code></li>
    <li><code>168.2277-trim-suffix.py</code></li>
    <li><code>168.3174-trim-suffix.py</code></li>
    <li><code>169.2233-string-length.py</code></li>
    <li><code>170.2275-get-map-size.py</code></li>
    <li><code>171.2446-add-an-element-at-the-end-of-a-list.py</code></li>
    <li><code>172.2442-insert-entry-in-map.py</code></li>
    <li><code>173.2427-format-a-number-with-grouped-thousands.py</code></li>
    <li><code>173.2428-format-a-number-with-grouped-thousands.py</code></li>
    <li><code>173.2429-format-a-number-with-grouped-thousands.py</code></li>
    <li><code>174.2687-make-http-post-request.py</code></li>
    <li><code>175.2613-bytes-to-hex-string.py</code></li>
    <li><code>176.2614-hex-string-to-byte-array.py</code></li>
    <li><code>177.2709-find-files-with-a-given-list-of-filename-extensions.py</code></li>
    <li><code>177.2725-find-files-with-a-given-list-of-filename-extensions.py</code></li>
    <li><code>177.3241-find-files-with-a-given-list-of-filename-extensions.py</code></li>
    <li><code>178.2615-check-if-point-is-inside-rectangle.py</code></li>
    <li><code>179.2688-get-center-of-a-rectangle.py</code></li>
    <li><code>179.2689-get-center-of-a-rectangle.py</code></li>
    <li><code>180.2612-list-files-in-directory.py</code></li>
    <li><code>182.2658-quine-program.py</code></li>
    <li><code>183.3025-make-http-put-request.py</code></li>
    <li><code>184.2701-tomorrow.py</code></li>
    <li><code>185.2820-execute-function-in-30-seconds.py</code></li>
    <li><code>186.2699-exit-program-cleanly.py</code></li>
    <li><code>187.3261-disjoint-set.py</code></li>
    <li><code>188.3171-matrix-multiplication.py</code></li>
    <li><code>188.3284-matrix-multiplication.py</code></li>
    <li><code>189.3236-filter-and-transform-list.py</code></li>
    <li><code>191.3403-check-if-any-value-in-a-list-is-larger-than-a-limit.py</code></li>
    <li><code>197.3457-get-a-list-of-lines-from-a-file.py</code></li>
  </ol>
</details>
