Computer Science, asked by ishaanbhardwaj, 17 days ago

Try
this:
1 Write a program to display the city names from a list of STATES, which are starting
with alphabet M.
For example:
If the list STATES contains
["MP", "UP", "WB", "TN", "MH", "MZ", "DL", "BH", "RJ", "HR")
The following should get displayed:
MP
MH
MZ
(in python)​

Answers

Answered by anshuldalla10
1

Answer:

MP

maybe

mark me brainlist

Answered by yashanshgupta
1

Answer:

list=["MP", "UP", "WB", "TN", "MH", "MZ", "DL", "BH", "RJ", "HR"]

for i in list:

     if i[0]=="M":

           print(i)

Explanation:

Similar questions