Generation

generate functionSat, 01 Apr 2023

encuentra el porcentaje de campos vacios en un item de una lista en ingles

def porcentaje_null(list): total = 0 for val in list: if val == None: total += 1 return total/len(list)*100 porcentaje_null(["hola", None, "mundo"])

Want to kickstart your project?Use the new AI Studio to create your code