A built-in function allows type conversion.
eg: print(type(str(1234)))
But a custom function returns Syntax-Error.
eg:
def func(str(n)): print(type(n)) func(1234)
Can anyone please help understand why ? More importantly if we can incorporate type-conversion within Function parameter list, it would save some lines of code.
Thank you.