Ha, men sizga Pythonda quyidagi kodni yozishim mumkin: data = {} validation = {} for key, value in validation.items: if value == 1: data[key] = filter(lambda x: x.isalnum(), data[key]) elif value == 3: data[key] = ''.join(e for e in data[key] if e.isalnum()) elif value == 4: data[key] = ''.join(e for e in data[key] if e.isdigit)) elif value == 5: data[key] = ''.join(e for e in data[key] if e.isalnum() or e.issnum)) elif value == 6: data[key] = '.'join(e for e in data[key] if e.isalnum) or e.issnum) or e.issnum) or e
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence