Level 1 : What does the following code achieve?


print(8)
print(13, end=" ")
print(21)

Author: VenuEmmela | Tags: print | 1859+ Python FAQs | Share
reading-and-writing-large-files-efficiently | string-iteration | list-comprehension | logical-operator | mathematics | match | logical-operation | managing-directories-with-os-and-shutil | math | mathematical-function | multiprocessing | multiple-inheritance | module | multiple-inheritance | math-copysign | factorial-function | multithreading | namedtuple | max-min | overriding-methods | mutable | python_version | multiple-except-blocks | built-in | lists | data-structure | opening-files-(open()) | control-flow | list-mutation | magic-method | compute | copy | package-management | tuple | data_structure | raise | complex | methods | using-the-threading-module | thread-safe-data-structures-(queue.queue) | using-lists-as-stacks | complex-number | asyncio-module | __all__-attribute | list,-set,-and-dictionary-comprehensions | __future__ | operator-overloading | type-conversion | anchors-(^,-$) | method | quantifiers-(*,-+,-?,-{}) | creating-and-starting-threads | pass | version | counter-function | comment | tuple-unpacking | loops | call | dictionaries | arithmetic-expression | descriptors | loop-control | using-assertions-(assertequal,-assertraises) | zfill-function | writing:-write(),-writelines() | __init_subclass__ | data-structure | indentation | sys | tuple-methods | pandas | center | library | datetime | decorator | dictionary-methods | list-comprehensions | data-types | numeric | set-operation | higher-order-function | lambda | using-os-and-pathlib-modules | overflow | sets | expression | function-and-scope | operator | creating-custom-modules | walking-through-directories-using-os.walk() | min-max-function | mapping-function | import-method | list-vs-tuple | memory | asyncio | functional-programming | thread | unit-testing | working-with-binary-files-(rb,-wb) | method-overloading | list-slicing | pickling--unpickling | immutability | string-concatenation | function | namespace | dictionary-comprehensions | matrix-list-comprehension | global-variable | tuples | memory-management | iterator | split | matplotlib | advanced-file-operations | random-function | string-formatting | collection | assignment-operators | regex | bitwise-operator | polymorphism | function-argument | python-module | version-check | built-in-function | bitwise | data-type | sorted | python-history | recurssion | string-methods | parameter | defining-functions | slicing | list-operation | list-indexing | set | shallow-copy | inheritance | swapping | dictionary | enumerate() | min-function | append | sum() | round-function | integers | recursion | intering | logical-operator | feature | command-line-parsing | syntaxerror | comprehension | thread-synchronization | async | oops | type-conversion-and-casting | operations | python-syntax-and-structure | exponentiation | regular-expression | class-and-inheritance | iterators | data-structures | global-variable | python-repl | statement | bitwise-operator | formal-and-actual-parameter | object-attribute | loop-control-statements | name-mangling | booleans | classes | context-manager | aggregating-data-with-functools.reduce() | pep | file-handling | expand-tab | list-methods-and-slicing | literal-characters-and-special-characters | input-function | design-principle | array | data-type-conversions | touples | matrix | global-keyword | python | boolean | zip | installation | fabs-function | exception-handling | head-and-tail | indexing | init | scientific-notation | while-loops | loop | filter | handling-missing-values-(fillna,-dropna) | inherit | string-method | static-method | odd-number | constructor | oop | working-with-file-paths | file | exception-handling | dataframe-and-series-objects | binary-operation | list-method | file-handling | map-function | generator | identity-operator | keyword | else | reading-and-writing-files | string | exception | operator-or | identifier | file_handling | floats | conditional-statements | logical-operators | error-handling | list | lambdas | floating-point-precision | membership-operators-(in,-not-in) | filtering-and-indexing | filter-function | mysql | nested-loop | functional-programming | parsing-with-strptime | functions | using-else-and-finally | docstring | gil | variable | working-with-temporary-files-using-tempfile | staticmethod | int | generators-in-python | decimal | default-arguments | class-decorators | frozenset | else-statement | escape-operator | introduction-to-multiprocessing | for | join | error | range | lambda-function | boolean-masking | assignment-operator | round | data-structures-in-python | python-operators | immutable-data-type | data-type | string-manipulation | pseudocode | global | attribute | operators | operator-and | yield | conditional-statement | def | implementation | input | built-in-function | raise-statement | print | encapsulation | precedence | datatype | class-and-object | debugging | application | directory-operations | assert | collections | python-django | conversion | sys-module | datetime.date,-datetime.time,-datetime.datetime | difference-between-threads-and-processes | built-in-modules | conditional-statement | numpy | formatting-with-strftime | objects | binary | postfix | condition | operand | arithmetic-operation | class | default-mutable-argument | string-slicing | format | string-slicing | benefit | working-with-dates-and-times | list-join | virtual-environment | arbitrary-arguments-(*args,-**kwargs) | encoding | rollback | print-statement | single-inheritance | error-handling | why-use-multiprocessing-over-threading?-(gil) | generators | identity-operators-(is,-is-not) | input-function | introduction-to-python | access-modifier | introduction-to-threads | zip-function | slice | list-comprehension | counter | random | precedence-and-associativity | string-formatting | while-loop | key-value-pairs | strings | string-method | lambda-functions | type_conversion | time-series-with-pandas | software-design | basic | class-and-instance-variable | using-join()-and-is_alive()-methods | type-conversion | choice | regular-expressions | id-function | test-discovery | integer | dicts | virtual-environment | control-flow | heap-memory | syntax-error | boolean-and-non-boolean | while-else-loop | comparison | destructor | iterable | return-statement | threading | control-statement | interpreter | stack | syntax | invalid-list | typeerror | syntax-error | deep-copy | identity-operator | sorting | sum-function | turtle | indexing:-loc-vs-iloc | while-and-for-loop | with-statement | goto-function | update | reading:-read(),-readline(),-readlines() | joining-and-merging-dataframes | sorting-and-ranking | using-map()-for-transformations | using-yield-in-functions ...