Level 9 : What is the output of the following code?


print('+88'.zfill(5))

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