WAP in Python to display those strings which are string with 'A' of a given list
Answers
Answered by
3
Answer:
string_list = ['Example', 'Altamas', 'Apple']
for word in string_list:
if 'A' in word:
print(word)
------------------
if you want the starting string starts with 'A' then instead of 'A' in if condition use word[0] == 'A'
Follow me, mark me as brainliest
Similar questions