void in python code example
Example 1: python typing void function
def function(param: str) -> None:
# A function that doesn't return anything,
# has None as return type.
print("hey")
Example 2: python void class
def first_example (sentence) :
return sentence
print(first_example('This is my first return statement'))