Assign a different name to function using the assignment (=) operator.
fun_name = new_name
Solution:
def display_student(name, age):
print(name, age)
# call using original name
display_student("Emma", 26)
# assign new name
showStudent = display_student
# call using new name
showStudent("Emma", 26)
Hint:
Assign a different name to function using the assignment (=) operator.
fun_name = new_name
Solution:
need an explanation for this answer? contact us directly to get an explanation for this answer