Level 1 : Write the output of the following code


a = tuple("Python")
print(a)

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