Find out whether a list is a palindrome

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']