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


aa  = '9faqs.com'
print(aa[::-1].startswith('9'))

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