Level 1 : What's the output for below code?


str1= '{3},{1} and {0}'. format('p','r','i')
print(str1)

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