basic python-7(Qna)
Q1: In the Python shell, do the following… A1: Here is a simple Python script that accomplishes this: # (i) Define a variable named states that is an empty list. states = [] # (ii) Add ‘Delhi’ to the list. states.append(‘Delhi’) # (iii) Now add ‘Punjab’ to the end of the list. states.append(‘Punjab’) # (iv) …