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