Level 1 : Which of the following would give a syntax error?

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