rons Come tiaasy eM DL
aay eee pee een eo ee
classxi=dict ()
In=int (input ("Enter total number of sections in xi class: "))
while i<-n:
asinput ("Enter Section: ")
bsinput ("Enter stream name: "
classxi(a}=b |
init |
print ("class™,"\t", "section", '\t", "stream name")
for i in classxi: Uy
Print ("AT", '\t',4, "\t* classi (41)
Output
[Bye 4s st 1 we. v emai
Tie eS Oeg_Opns Wind 1 sees
Python 3.6.5 (v3.6.5:£53¢0932b4, Mar 28 2018, 16:07:46) (MSC V.
fee1)}_ on wins?
[type "copyright", “credits” or "license()" for more information.
>>
RESTART: C:/chapter 8/prgm 5.py ===
enter total number of sections in xi class: 5
Enter Section: A
Enter stream name: SCIENCE WITH ECO
Enter Section: B
Enter stream name: SCIENCE WITH BIO
Enter section: c t
Enter stream nane: SCTENCE WITH cS
lenter Section: D
fenter stream nae: COMMERCE WITH MATHS
Enter Section: E
Bnter stream name: COMMERCE WITH IP
class section stream name
bax a SCIENCE WITH ECO
st B SCIENCE WITH BIO
xr ce SCIENCE WITH cS
xr D COMMERCE WITH MATHS
bs zB COMMERCE WITH IP