The document outlines an assignment to create two functions in programming. The first function, 'addition of salaries', takes a list of salaries and increments each salary. The second function, 'fruits checker', checks for the presence of 'Banana' in a list of fruits.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views1 page
Functions Assignment
The document outlines an assignment to create two functions in programming. The first function, 'addition of salaries', takes a list of salaries and increments each salary. The second function, 'fruits checker', checks for the presence of 'Banana' in a list of fruits.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Functions Assignment
1) Create a function called addition of salaries which has
Salaries=[1000,2000,3000,4000] Design a function which accepts Salaries list as input and increments salaries for each employee 2) Design a function called fruits checker which checks the presence or absence of fruit in the list Fruits=[“Apple”,”Mango”,”Banana”] I need to check the presence or absence of Banana in the list using the concept of functions implement the code for the same.