type input in python code example
Example 1: how to specify an input type to a function in python
def function(input1: int, input2: float, input3: bool, input4: list, input5: str):
pass
Example 2: input python
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)