text: import csv
  class crime():
    def func(self):
      with open('Crime.csv', 'r') as myFile:
      reader = csv.reader(myFile)
      for line in reader:
        t = line[7]
        a = t.getdata
          if row.get('RUCR') == 1430:
             count = count + 1
             b = row.get('RUCR_EXT_D')
             print('RUCR', count , b)
    
          elif row.get('RUCR') == 1420:
             count1 = count1 + 1
             c = row.get('RUCR_EXT_D')
             print('RUCR' , count1 , c) 
  
          elif 
  
  
  
  
  c = crime()
  c.func()
  