Answers for "dictionary"

2

dictionary

You can use WebTools, it's an addon that gathers the most 
useful and basic tools such as a dictionary, a translator, 
a youtube convertor, a speedtest and many others (there are ten of them).
You can access them in two clics, without having to
open a new tab and without having to search for them !

-Chrome Link : 
https://chrome.google.com/webstore/detail/webtools/ejnboneedfadhjddmbckhflmpnlcomge/

Firefox link : https://addons.mozilla.org/fr/firefox/addon/webtools/
Posted by: Guest on April-02-2021
0

dictionary

# Creating a Dictionary 
# with Integer Keys
Dict = {1: 'Geeks', 2: 'For', 3: 'Geeks'}
print("\nDictionary with the use of Integer Keys: ")
print(Dict)
  
# Creating a Dictionary 
# with Mixed keys
Dict = {'Name': 'Geeks', 1: [1, 2, 3, 4]}
print("\nDictionary with the use of Mixed Keys: ")
print(Dict)
Posted by: Guest on April-28-2021
0

dictanary

#pet dictionary 

cats = {
  0: {
    
    'desc': 'redacted',
    
    'age': 'redacted',
    
    'attitude': ['redacted','redacted','redacted']
  }, 
  
  1: {
    
    'desc': 'redacted',
    
    'age': 'redacted',
    
    'attitude': ['redacted']
    
  }, 
  2: {
    
    'desc': 'redacted',
    
    'age': 'redacted',
    
    'attitude': ['redacted','redacted','redacted']
  },
  
  3: {
    
    'desc': 'redacted',
    
    'age': 'redacted',
    
    'attitude': ['redacted','redacted','redacted']
  }, 
  
}

dogs = {
  0: {
    
  'desc': 'redacted',
  
  'age': 'redacted',
  
  'attitude': ['redacted','redacted']
  },
  
  1: {
  'desc': 'redacted',
  
  'age': 'redacted',
  
  'attitude': 'redacted'
  },
  
  2: {
  'desc': 'redacted',
  
  'age': 'redacted',
  
  'attitude': ['redacted','redacted','redacted']
  }
}
Posted by: Guest on October-12-2020

Code answers related to "dictionary"

Browse Popular Code Answers by Language