Answers for "how to convert dictionary values to int"

0

how to convert dictionary values to int

mydict={"english":input("Enter your marks:\n"),
"nepali":input("Enter your marks:\n"),
"math":input("Enter your marks:\n"),
"science":input("Enter your marks:\n"),
"geo": input("Enter your marks:\n"),
"physics": input("Enter your marks:\n")}
int(mydict["english"])
int(mydict["nepali"])
int(mydict["math"])
int(mydict["science"])
int(mydict["geo"])
int(mydict["physics"])
a = mydict
Posted by: Guest on June-02-2021

Code answers related to "how to convert dictionary values to int"

Browse Popular Code Answers by Language