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


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

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