Tuesday, March 13, 2018

Required Arguments

Required Arguments in Python 3


Required arguments are the arguments passed to a function in correct positional order.Here, the number of arguments in the function call should match exactly with the function definition.

To call the function printme(), you definitely need to pass one argument, otherwise it gives a syntax error as follows-


 and the output is :