Page 17 - ipp11
P. 17

Program 19: Write a program to input the total number of sections and stream names in 11  class and
                                                                                                   th
                 display all information on the output screen.
                      Code:










                      Output:

















                 Program  20:  Write  a  Python  program  to  input  names  of  ‘n’  countries  along  with  their  capitals  and
                 currencies, store them in a dictionary and display them in a tabular form. Also search for and display a
                 particular country.
                      Code:

















                                                              13
   12   13   14   15   16   17   18   19   20   21   22