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


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

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