Write a python program that accepts Names and two Marks for each student and store them in dictionary format and print it.(Assume there are N-Students)
answer it fast plssssss
Answers
Answered by
0
students = int(input("no of students: "))
student_obj = {}
for n in range(students):
name = input(f"enter name_{n}: ")
marks = [float(n) for n in input("enter marks: ").split()]
print()
student_obj[name] = marks
print(student_obj)
Similar questions
Math,
2 months ago
Science,
2 months ago
English,
5 months ago
Psychology,
5 months ago
CBSE BOARD XII,
10 months ago
Biology,
10 months ago