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

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