Skip to content

T-Python-June-24/LAMBDA_RECURSION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

LAB_RECURSION_LAMBDA

1) Using recursion, if given a word/phrase return how many vowels(a,e,i,o,u) are in that phrase or word:

Note: the function should be able to count how many vowels no matter if it is lowercase or uppercase .

Example: given the phrase I love python , it should return : 4

2) Given a list of numbers : [40,35, 10, 15, 20]

create a new list containing each number from the previous list mutliplied by itself.

print the new list.

Note: use map() with a lambda funciton

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published