Level 10 : What is the output of the following?


for i in range(3):
    if i == 1:
        continue
    print(i, end="")
else:
    print("End", end="")

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