Default arguments and positional arguments in Python
1. Define a function called user_name_definition with two arguments: f_name and l_name similar to the above example. 2. Set the default value for f_name to be "John" 3. Set the default value for l_name to be "Doe" Syntax:- def user_name_definition(name1, name2): return name1 + ' ' + name2 f_name = "John" l_name = "Doe" print(user_name_definition(f_name, l_name)) or def user_name_definition(f_name, l_name): return f_name + ' ' + l_name f_name = "John" l_name = "Doe" print(user_name_definition(f_name, l_name)) Out Put: John Doe however I'm getting bellow validation issue:- Define user_name_defintion function Description Searched your code for a specific pattern: def\s*user_name_definition\s*\(\s*f_name\s*=\s*['"]John['"]\s*,\s*l_name\s*=\s*['"]Doe['"]\s*\)