Level 1 : What will be the output of the following Python code?


import turtle
t=turtle.Pen()
t.color(0,0,1)
t.begin_fill()
t.circle(15)
t.end_fill()

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