Answers for "create dictionary from input python"

0

create dictionary from input python

marks = {}

for i in range(10):
    student_name = input("Enter student's name: ")
    student_mark = input("Enter student's mark: ")
    marks[student_name.title()] = student_mark

print(marks)
Posted by: Guest on May-06-2021

Code answers related to "create dictionary from input python"

Browse Popular Code Answers by Language