Skip to content

commit-live-students/036-flatten-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Flatten a shallow list

Notes

  • Define a function to accept a list as a parameter.
  • This list contains various lists in it.
  • Return a combined list of above various lists.

Instructions:

  • Program should be written in file build.py

  • Function name should be solution.

  • Input

     Type:  List
     Value: [[1,2,3],[4,5],[6],[7],[8,9]]
    
  • Expected Output

      Type:  List
      Value: [1, 2, 3, 4, 5, 6, 7, 8, 9]
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages