Level 5 : Find the Output of the below code


a=1
while True:
    if a%9 == 0:
        break
    print(a)
    a += 1

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