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
Geography,
2 months ago
English,
4 months ago
Psychology,
4 months ago
CBSE BOARD XII,
9 months ago
Biology,
9 months ago