0
I have an list which contains 100 elements I want to print the elements which all are starting from the word 'A' how can I do that in python
3 odpowiedzi
+ 2
for i in wordlist:
if i.startswith("A"):
print(i)
0
i would import regular expressions and filter all words that start with a.
- 2
by using print statement