What is the basic concept behind doing -> None:
in
class dog:
def __init__(self) -> None:
self.name = "legend"
Kindly explain simply but conceptually as I am a beginner. Explain?
What is the basic concept behind doing -> None:
in
class dog:
def __init__(self) -> None:
self.name = "legend"
Kindly explain simply but conceptually as I am a beginner. Explain?