Kichujio

Katika utarakilishi na lugha ya programu, kichujio (kwa Kiingereza: filter) ni fomula saidizi inayoamrisha orodha ili kuumbwa muundo wa data mpya.Encyclopaedia Britannica (2024). "Filter". Encyclopaedia Britannica, Inc. https://www.britannica.com/technology/filterScienceDirect (2024). "Filtration – Overview and Applications". https://www.sciencedirect.com/topics/engineering/filtrationWorld Health Organization (2023). *Household Water Treatment and Safe Storage: Filtration Methods*. WHO Publications. https://www.who.intU.S. Environmental Protection Agency (2024). "Air Filters and Indoor Air Quality". https://www.epa.gov/indoor-air-quality-iaqIEEE (2023). "Electrical Filter Fundamentals". Institute of Electrical and Electronics Engineers. https://ieeexplore.ieee.orgKhurmi, R.S. & Gupta, J.K. (2022). *A Textbook of Mechanical Engineering*. Eurasia Publishing House. (Sura ya Filtration Systems).Degremont (2024). *Water Treatment Handbook*. Suez Group. (Sehemu ya Filtration Technologies).ISO (2023). *ISO 16890: Air Filter for General Ventilation – Testing and Classification*. International Organization for Standardization.Environmental Science Journal (2022). "Advances in Membrane Filtration Technology". https://www.environmentalsciencejournal.com

 Mfano 
Kwa Python mfano wa kichujio nihttps://www.w3schools.com/python/ref_func_filter.asp :# Orodha wa herufi
herufi = ['a', 'b', 'd', 'e', 'i', 'j', 'o']

# fomula saidizi inayochuja vokali
def chujaVokali(herufi):
    vokali = ['a', 'e', 'i', 'o', 'u']

    if(vokali in herufi):
        return True
    else:
        return False

chujwaVokali = filter(chujaVokali, herufi)

print('Vokali zichujwa ni:')
for vokali in chujwaVokali:
    print(vokali)

Tanbihi

Jamii:Kompyuta
Jamii:Lugha za programu