- 1
Write a program on 10 names of students and their 2 subjects in python
https://code.sololearn.com/WZ9MzFpxPbU6/?ref=app https://code.sololearn.com/cpB1YLRaBH0R/?ref=app https://www.sololearn.com/discuss/2228047/?ref=app
2 Answers
0
Help me , I am beginner
0
First try by yourself, and post what you tried and what you know.. So that community help you complete your task..
Read about dictionaries..
Giving and asking total code not appropriated..
Ex:
Std={
"st1":["subject1","subject2"],
"st2":["subject1","subject2"]
}
print(Std["st1"])
print(Std["st2"])
See this:
https://www.edureka.co/blog/hash-tables-and-hashmaps-in-JUMP_LINK__&&__python__&&__JUMP_LINK/