Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

11 cs 13 BE C

5. Given the dictionary x = {‘k1’: ‘v1’, ‘k2’: ‘v2’, ‘k3’: ‘v3’}, create a dictionary with the opposite mapping i.e., write a program to create the dictionary as : inverted_x = { ‘ v1’ : ‘ k1’ , ‘ v2 ‘ : ‘ k2 ‘ , ‘ v3 ‘ : ‘ k3 ‘ }

sa 11 cs chapter 13, sa 11 ip chapter 8 / PythonCSIP CS IP

5. Given the dictionary x = {‘k1’: ‘v1’, ‘k2’: ‘v2’, ‘k3’: ‘v3’}, create a dictionary with the opposite mapping i.e., write a program to create the dictionary as : inverted_x = { ‘ v1’ : ‘ k1’ , ‘ v2 ‘ : ‘ k2 ‘ , ‘ v3 ‘ : ‘ k3 ‘ } Read More »

6. Given two dictionaries say D1 and D2. Write a program that lists the overlapping keys of the two dictionaries, i.e., if a key of D1 is also a key of D2, the list it.

sa 11 cs chapter 13, sa 11 ip chapter 8 / PythonCSIP CS IP

6. Given two dictionaries say D1 and D2. Write a program that lists the overlapping keys of the two dictionaries, i.e., if a key of D1 is also a key of D2, the list it. Read More »

Post pagination
← Previous 1 2 3 4 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.