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

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