+ 6
How to print my result in dictionary format
i have calculated percentage of student using some code and i want to print in dictionary format like {'yash':59, 'ram':68,....} please tell me the way to do that
6 Respuestas
+ 6
Here‘s a possible option, yash gupta :
————————————
dic = {}
for i in range(len(names)):
dic[names] = some_value
print(dic)
————————————
Hope this helps 😊
+ 1
X = dict()
print(str(X))
+ 1
Dictionaries
👇👇👇👇👇👇👇
https://code.sololearn.com/cuWT75qxQa4o/?ref=app
0
Hy
0
Hmmmm