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