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


import turtle
t=turtle.Pen()
for i in range(0,5):
        t.left(144)
        t.forward(100)

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