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 | 1736+ Python FAQs | Share
return-statement | encapsulation | functions | odd-number | python_version | typeerror | collections | staticmethod | list-operation | design-principle | mathematical-function | package-management | math-copysign | destructor | virtual-environment | class-and-inheritance | functional-programming | function | for | sum-function | file-handling | append | control-flow | comparison | __init_subclass__ | tuple | data-type | python | matplotlib | join | dictionaries | class | string-formatting | list-comprehension | asyncio-module | string-formatting | inheritance | condition | access-modifier | mutable | sum() | __future__ | library | python-repl | namespace | while-else-loop | sorting | boolean | descriptors | threading | slice | oop | bitwise | range | feature | turtle | call | lambda-function | sys-module | built-in-function | swapping | iterator | loop-control | built-in | assignment-operator | choice | datatype | list-join | file | zip-function | lists | def | center | list-indexing | precedence | comprehension | virtual-environment | gil | debugging | type-conversion | data-structures | input-function | scientific-notation | decorator | input-function | zip | else-statement | function-argument | counter-function | max-min | heap-memory | with-statement | object-attribute | overflow | string-method | string-slicing | immutable-data-type | methods | type_conversion | min-function | python-django | operator | version | random | encoding | recursion | control-statement | context-manager | collection | mathematics | pseudocode | fabs-function | __all__-attribute | filter-function | input | mysql | datetime | oops | attribute | print | conversion | name-mangling | bitwise-operator | file-handling | command-line-parsing | while-and-for-loop | sys | arithmetic-operation | lambdas | touples | statement | expression | asyncio | keyword | inherit | id-function | multiple-inheritance | method | math | yield | enumerate() | floating-point-precision | data-structure | global-variable | indentation | complex-number | exponentiation | syntax-error | data-type | operations | logical-operator | higher-order-function | list-mutation | regex | pickling-&-unpickling | numeric | global-variable | objects | format | generators-in-python | exception-handling | class-and-instance-variable | loop | file_handling | loops | python-history | immutability | update | indexing | memory | async | basic | list-method | identity-operator | iterable | parameter | bitwise-operator | application | mapping-function | interpreter | data-structure | operator-overloading | round-function | escape-operator | polymorphism | default-mutable-argument | arithmetic-expression | memory-management | classes | frozenset | function-and-scope | complex | nested-loop | integer | control-flow | comment | operator-or | syntax | match | magic-method | global-keyword | boolean-and-non-boolean | string-method | string-iteration | conditional-statement | benefit | conditional-statement | matrix | python-module | goto-function | string-concatenation | class-and-object | split | round | thread | syntax-error | installation | rollback | array | numpy | binary-operation | operators | factorial-function | pep | syntaxerror | generators | raise | decimal | postfix | filter | multiprocessing | list-comprehension | identifier | min-max-function | matrix-list-comprehension | list-vs-tuple | module | logical-operator | random-function | dicts | logical-operation | precedence-and-associativity | print-statement | int | sorted | dictionary | constructor | map-function | set | slicing | head-and-tail | operand | docstring | data_structure | global | assert | zfill-function | invalid-list | list-slicing | expand-tab | exception | set-operation | operator-and | string-slicing | while-loop | counter | tuple-unpacking | multithreading | software-design | import-method | implementation | static-method | identity-operator | regular-expression | generator | version-check | exception-handling | deep-copy | list | variable | compute | error-handling | string-manipulation | binary | pandas | stack | init | type-conversion | string | namedtuple | copy | formal-and-actual-parameter | built-in-function | shallow-copy | recurssion | lambda | error ...