6. Write a python program to generate a lambda function that able to multiply two input number.
The output is:
Two numbers: 3.2, 7.6
Expected Answer:
Multiplication of both input number: 24.32
Sample Answer:
input_number = lambda a, b : a * b print("Multiplication of both input number:",input_number(3.2, 7.6))
More Exercises:
Python String ExercisesMore Numpy Exercises:
Numpy String ExercisesMore Pandas Exercises:
Pandas Series ExercisesMore Tutorials:
Python Installation - Linux (Ubuntu)