✏️ Fix Pydantic examples in tutorial for Python types
diff --git a/docs_src/python_types/tutorial011.py b/docs_src/python_types/tutorial011.py
index c8634cbff505a..297a84db68ca0 100644
--- a/docs_src/python_types/tutorial011.py
+++ b/docs_src/python_types/tutorial011.py
@@ -6,7 +6,7 @@
 
 class User(BaseModel):
     id: int
-    name = "John Doe"
+    name: str = "John Doe"
     signup_ts: Union[datetime, None] = None
     friends: List[int] = []
 
diff --git a/docs_src/python_types/tutorial011_py310.py b/docs_src/python_types/tutorial011_py310.py
index 7f173880f5b89..842760c60d24f 100644
--- a/docs_src/python_types/tutorial011_py310.py
+++ b/docs_src/python_types/tutorial011_py310.py
@@ -5,7 +5,7 @@
 
 class User(BaseModel):
     id: int
-    name = "John Doe"
+    name: str = "John Doe"
     signup_ts: datetime | None = None
     friends: list[int] = []
 
diff --git a/docs_src/python_types/tutorial011_py39.py b/docs_src/python_types/tutorial011_py39.py
index 468496f519325..4eb40b405fe50 100644
--- a/docs_src/python_types/tutorial011_py39.py
+++ b/docs_src/python_types/tutorial011_py39.py
@@ -6,7 +6,7 @@
 
 class User(BaseModel):
     id: int
-    name = "John Doe"
+    name: str = "John Doe"
     signup_ts: Union[datetime, None] = None
     friends: list[int] = []
 

pydantic script was getting an error, 
"pydantic.errors.PydanticUserError: A non-annotated attribute was detected: `name = 'John Doe'`. All model fields require a type annotation; if `name` is not meant to be a field, you may be able to resolve this error by annotating it as a `ClassVar` or updating `model_config['ignored_types']`."
fixed by adding type annotation str