Level 1 : What is the output of below code?


line1='And here you can learn '
line2='You will fall in love with python '
line3='Pyhton is interpreted language '
line4=line1 + line2 + line3
print(line1.find('you'),line4.count('python'))

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