ListString
Submit solution
C++, Python
Points:
10 (partial)
Time limit:
10.0s
Memory limit:
5M
Author:
Problem type
Allowed languages
Write a Python program to count the number of strings where the string length is 2 or more and the first and last character are same from a given list of strings.
Sample Input
['abc', 'xyz', 'aba', '1221']
Sample Output
2
Comments
the input and output format is not specified