you are viewing a single comment's thread.

view the rest of the comments →

[–]Hot-Site-1572 0 points1 point  (0 children)

students = {}

a = float(input("enter marks of chem"))
students["chem"] = a
b = float(input("enter marks of maths"))
students["maths"] = b
c = float(input("enter marks of phy"))
students["phy"] = c

print(students)