Level 3 : choose the correct function to pick a random character from the below string.


Str = 'Datazeneral'

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