Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5da5f41

Browse files
authored
Update readme.md
1 parentc1a71ec commit5da5f41

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#Python Syntax Errors: Common Mistakes and How to Fix Them
22

3+
-[How to read Python syntax errors](#how-to-read-python-syntax-errors)
4+
-[How to fix syntax errors](#how-to-fix-syntax-errors)
5+
*[Misplaced, missing, or mismatched punctuation](#misplaced-missing-or-mismatched-punctuation)
6+
*[Misspelled, misplaced, or missing Python keywords](#misspelled-misplaced-or-missing-python-keywords)
7+
*[Illegal characters in variable names](#illegal-characters-in-variable-names)
8+
*[Incorrect indentation](#incorrect-indentation)
9+
*[Incorrect use of the assignment operator (=)](#incorrect-use-of-the-assignment-operator)
10+
11+
312
This article examines how to read and fix Python syntax errors with the
413
help of practical web scraping examples.
514

@@ -396,7 +405,7 @@ harder to read. Using this method can bring about unnecessary syntax
396405
errors when they can be avoided by sticking to either spacesor tabs
397406
throughout the code.
398407
399-
### Incorrect use of the assignment operator (=)
408+
### Incorrect use of the assignment operator
400409
401410
1. Ensure you aren’t assigning values to functionsor literalswith the assignment operator`=`. You can only assign values to variables. Here’s an overview of some examples:
402411

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp