dictanary code example

Example: 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']
  }
}

Tags:

Misc Example