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

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