Level 1 : What will be the output of the following Python code?


print("abc. DEF".capitalize())

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