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


import turtle
t=turtle.Pen
t.tilt(75)
t.forward(100)

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