Level 10 : What will be the output of the following code?


print('*', "abcde".center(6), '*', sep='')

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