Write a program on 10 names of students and their 2 subjects in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
2 Answers
0
Help me , I am beginner
6th Apr 2020, 12:15 PM
Pratigya Dave
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/
6th Apr 2020, 1:25 PM
Jayakrishna 🇮🇳