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

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