Skip to content

gaaanesh/016-grab-last-element

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Given this nest dictionary grab the word "hello".

Notes:

  • We have provided a dic object.
  • Iterate over it and return last index word for target which is hello.

Instructions:

  • Program should be written in file build.py

  • Function name should be solution.

  • Input

     Type:  Dictionary
     Value: {'a1': [4, 2, 7, ("hello")]}
    
  • Expected Output

      Type:  String
      Value: ("hello")
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%