Skip to content

arbaztalk2me/015-check-palindrome-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Find out whether a list is a palindrome or not.

Notes:

  • Define a function which will accept list as parameter.
  • Reverse the list and verify if reverse and actual list are matching.
  • If yes then list is palindrome and return true, else false.

Instructions:

  • Program should be written in file biuld.py

  • Function name should be solution.

  • Input

     Type: List
     Value: ['n','i','t','i','n']
    
  • Expected Output

      Type: List
      Value: ['n','i','t','i','n']
    

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%