मराठी

Consider the following dictionaries, D and D1: D={"Suman": 40, "Raj":55, "Raman":60} D1={"Aditi": 30, "Amit":90, "Raj":20} (Answer using built-in Python functions only) Write a statement to display - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Consider the following dictionaries, D and D1:

D={"Suman": 40, "Raj":55, "Raman":60}
D1={"Aditi": 30, "Amit":90, "Raj":20}

(Answer using built-in Python functions only)

Write a statement to display the length of the dictionary D1.

कोड लेखन
Advertisements

उत्तर

len(D1)
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×