Level 4 : What will be the output of this statement?


>>> str1 = "javat"  
>>> str2 = ":"  
>>> str3 = "point"  
>>> str1[-1:]

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